lkml.org 
[lkml]   [2017]   [Jul]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [RFC PATCH 2/3] drivers: misc: eeprom: at24: support reading mac eeprom from different addresses
From
Date


On 30.06.2017 10:20, Uwe Kleine-König wrote:
> Hallo,
>
> On Thu, Jun 29, 2017 at 02:39:10PM +0300, Claudiu Beznea wrote:
>> diff --git a/include/linux/platform_data/at24.h b/include/linux/platform_data/at24.h
>> index 271a4e2..d55c454 100644
>> --- a/include/linux/platform_data/at24.h
>> +++ b/include/linux/platform_data/at24.h
>> @@ -50,6 +50,7 @@ struct at24_platform_data {
>> #define AT24_FLAG_TAKE8ADDR BIT(4) /* take always 8 addresses (24c00) */
>> #define AT24_FLAG_SERIAL BIT(3) /* factory-programmed serial number */
>> #define AT24_FLAG_MAC BIT(2) /* factory-programmed mac address */
>> + u8 offset;
>
> Assuming you rename the property, please adapt the member name here
> accordingly.
Sure!

Thanks,
Claudiu
>
> Best regards
> Uwe
>

\
 
 \ /
  Last update: 2017-07-05 11:34    [W:0.070 / U:1.680 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site