diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2013-09-24 10:04:21 +0400 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2013-09-26 05:25:11 +0400 |
commit | cd4ab0420fd6233766fd87fa295d6e3cfb719c01 (patch) | |
tree | 9c93612867277cea9d85e47e6e11f292870a7a5e /arch/arm/mach-shmobile/setup-r8a7778.c | |
parent | fd131d0d4024a39259c41290451e728515ed7300 (diff) | |
download | linux-cd4ab0420fd6233766fd87fa295d6e3cfb719c01.tar.xz |
ARM: shmobile: r8a7778: cleanup registration of sh_eth
sh_eth driver which needs platform data at the time of
registration is used from BockW only.
Now, ARM/shmobile aims to support DT,
and the C code base board support will be removed
if DT support is completed.
Current driver registration method which needs platform data
and which is not shared complicates codes.
This means legacy C code cleanup after DT supporting
will be more complicated
This patch registers it on board code as cleanup C code
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch/arm/mach-shmobile/setup-r8a7778.c')
-rw-r--r-- | arch/arm/mach-shmobile/setup-r8a7778.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/arch/arm/mach-shmobile/setup-r8a7778.c b/arch/arm/mach-shmobile/setup-r8a7778.c index 604cf36b5616..f5e15c926fef 100644 --- a/arch/arm/mach-shmobile/setup-r8a7778.c +++ b/arch/arm/mach-shmobile/setup-r8a7778.c @@ -174,20 +174,6 @@ static struct platform_device_info hci##_info __initdata = { \ USB_PLATFORM_INFO(ehci); USB_PLATFORM_INFO(ohci); -/* Ether */ -static struct resource ether_resources[] __initdata = { - DEFINE_RES_MEM(0xfde00000, 0x400), - DEFINE_RES_IRQ(gic_iid(0x89)), -}; - -void __init r8a7778_add_ether_device(struct sh_eth_plat_data *pdata) -{ - platform_device_register_resndata(&platform_bus, "r8a777x-ether", -1, - ether_resources, - ARRAY_SIZE(ether_resources), - pdata, sizeof(*pdata)); -} - /* PFC/GPIO */ static struct resource pfc_resources[] __initdata = { DEFINE_RES_MEM(0xfffc0000, 0x118), |