From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sergei Shtylyov Date: Wed, 21 Aug 2013 19:13:30 +0000 Subject: Re: [GIT PULL 3/3] ARM: shmobile: lager: enable Ether Message-Id: <5215115A.1010400@cogentembedded.com> List-Id: References: <4901e136aa5c35873701156c4c0af5b3c2c8faee.1375839719.git.horms+renesas@verge.net.au> <87siy3owxj.fsf@linaro.org> In-Reply-To: <87siy3owxj.fsf@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-arm-kernel@lists.infradead.org Hello. On 08/21/2013 08:01 PM, Kevin Hilman wrote: >> Acked-by: Kuninori Morimoto >> Signed-off-by: Simon Horman > This one is triggering a new build failure in -next: > arch/arm/mach-shmobile/board-lager.c:99:2: error: unknown field 'register_type' specified in initializer > arch/arm/mach-shmobile/board-lager.c:99:19: error: 'SH_ETH_REG_FAST_RCAR' undeclared here (not in a function) >> +/* Ether */ >> +static struct sh_eth_plat_data ether_pdata __initdata = { >> + .phy = 0x1, >> + .edmac_endian = EDMAC_LITTLE_ENDIAN, >> + .register_type = SH_ETH_REG_FAST_RCAR, > and it looks to be because this board is trying to use the register_type > field which was removed by: > commit 8d3214c4e8c8be6efd8ec7a172239ebbd4deb04b > Author: Sergei Shtylyov > Date: Sun Aug 18 03:13:26 2013 +0400 > > sh_eth: remove 'register_type' field from 'struct sh_eth_plat_data' > > Now that the 'register_type' field of the 'sh_eth' driver's platform data is not > used by the driver anymore, it's time to remove it and its initializers from > the SH platform code. Also move *enum* declaring values for this field from > to the local driver's header file as they're only needed > by the driver itself now... > > Signed-off-by: Sergei Shtylyov > Signed-off-by: David S. Miller Looks like in this case I had no choice since R8A7790 support for the 'sh_eth' driver will be added in 3.12 only, so if I merged these patches thru the shmobile tree, we'd have gotten an error in the driver... I guess it's too early to fix this in any particular tree except for linux-next itself... let me know what I can do. WBR, Sergei