From: Simon Horman Date: Thu, 22 Aug 2013 07:36:38 +0000 (+0900) Subject: ARM: shmobile: lager: Do not use register_type field of struct sh_eth_plat_data X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3a116a5eaa68046646e557b4988a49e18f129ce8;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git ARM: shmobile: lager: Do not use register_type field of struct sh_eth_plat_data As of 8d3214c ("sh_eth: remove 'register_type' field from 'struct sh_eth_plat_data'") is is no longer necessary or correct to use the 'register_type' field from 'struct sh_eth_plat_data' and doing so results in a build error. Signed-off-by: Simon Horman Signed-off-by: Olof Johansson --- diff --git a/arch/arm/mach-shmobile/board-lager.c b/arch/arm/mach-shmobile/board-lager.c index 4872939cdba2..ffb6f0ac7606 100644 --- a/arch/arm/mach-shmobile/board-lager.c +++ b/arch/arm/mach-shmobile/board-lager.c @@ -96,7 +96,6 @@ static struct resource mmcif1_resources[] __initdata = { static struct sh_eth_plat_data ether_pdata __initdata = { .phy = 0x1, .edmac_endian = EDMAC_LITTLE_ENDIAN, - .register_type = SH_ETH_REG_FAST_RCAR, .phy_interface = PHY_INTERFACE_MODE_RMII, .ether_link_active_low = 1, };