diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2013-07-26 09:33:48 +0200 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2013-08-06 11:07:09 +0200 |
commit | a66c9744574c0e7b5c935c7c1ec84e0e741fb725 (patch) | |
tree | 84df4b637ffcabe5af83655f892d78f55b100331 /arch/arm/mach-shmobile/setup-r8a7778.c | |
parent | Merge branch 'dt2' into cleanup3-base (diff) | |
download | linux-a66c9744574c0e7b5c935c7c1ec84e0e741fb725.tar.xz linux-a66c9744574c0e7b5c935c7c1ec84e0e741fb725.zip |
ARM: shmobile: r8a7778: cleanup registration of mmcif
sh_mmcif 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 9d4b6bf4245e..960084626f8b 100644 --- a/arch/arm/mach-shmobile/setup-r8a7778.c +++ b/arch/arm/mach-shmobile/setup-r8a7778.c @@ -319,20 +319,6 @@ void __init r8a7778_add_hspi_device(int id) hspi_resources + (2 * id), 2); } -/* MMC */ -static struct resource mmc_resources[] __initdata = { - DEFINE_RES_MEM(0xffe4e000, 0x100), - DEFINE_RES_IRQ(gic_iid(0x5d)), -}; - -void __init r8a7778_add_mmc_device(struct sh_mmcif_plat_data *info) -{ - platform_device_register_resndata( - &platform_bus, "sh_mmcif", -1, - mmc_resources, ARRAY_SIZE(mmc_resources), - info, sizeof(*info)); -} - void __init r8a7778_add_dt_devices(void) { int i; |