From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752587AbdGEJeD (ORCPT ); Wed, 5 Jul 2017 05:34:03 -0400 Received: from esa1.microchip.iphmx.com ([68.232.147.91]:32692 "EHLO esa1.microchip.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751651AbdGEJeB (ORCPT ); Wed, 5 Jul 2017 05:34:01 -0400 X-IronPort-AV: E=Sophos;i="5.40,311,1496127600"; d="scan'208";a="4614491" Subject: Re: [RFC PATCH 2/3] drivers: misc: eeprom: at24: support reading mac eeprom from different addresses To: =?UTF-8?Q?Uwe_Kleine-K=c3=b6nig?= CC: , , , , , , , , References: <1498736351-9021-1-git-send-email-claudiu.beznea@microchip.com> <1498736351-9021-3-git-send-email-claudiu.beznea@microchip.com> <20170630072032.tbnatpnh3rej4lmf@pengutronix.de> From: m18063 Message-ID: Date: Wed, 5 Jul 2017 12:33:52 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 MIME-Version: 1.0 In-Reply-To: <20170630072032.tbnatpnh3rej4lmf@pengutronix.de> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 >