ARM: shmobile: lager: Do not use register_type field of struct sh_eth_plat_data
authorSimon Horman <horms+renesas@verge.net.au>
Thu, 22 Aug 2013 07:36:38 +0000 (16:36 +0900)
committerOlof Johansson <olof@lixom.net>
Tue, 10 Sep 2013 00:25:51 +0000 (17:25 -0700)
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 <horms+renesas@verge.net.au>
Signed-off-by: Olof Johansson <olof@lixom.net>
arch/arm/mach-shmobile/board-lager.c

index 4872939..ffb6f0a 100644 (file)
@@ -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,
 };