aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-shmobile/setup-r8a7778.c
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2013-07-24 03:36:51 -0400
committerSimon Horman <horms+renesas@verge.net.au>2013-07-25 20:17:32 -0400
commitcfa66a81621d0e85ac03c0de25adc7edd7f2649e (patch)
treebc992bbf405e4af3b8bed55843aa7ced8de0e6fd /arch/arm/mach-shmobile/setup-r8a7778.c
parent466f302e076236a4796079681ca2a2f34a5792a3 (diff)
ARM: shmobile: bockw: add DT reference
This patch adds a sample DT-based Bock-W "reference" implementation. The use of platform-specific C-code should be avoided with this configuration as much as possible. This patch adds new r8a7778_add_dt_devices() which was same stance of r8a7790_add_dt_devices() Acked-by: Magnus Damm <damm@opensource.se> 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.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/arm/mach-shmobile/setup-r8a7778.c b/arch/arm/mach-shmobile/setup-r8a7778.c
index a3a2e37b03f3..9d4b6bf4245e 100644
--- a/arch/arm/mach-shmobile/setup-r8a7778.c
+++ b/arch/arm/mach-shmobile/setup-r8a7778.c
@@ -333,7 +333,7 @@ void __init r8a7778_add_mmc_device(struct sh_mmcif_plat_data *info)
333 info, sizeof(*info)); 333 info, sizeof(*info));
334} 334}
335 335
336void __init r8a7778_add_standard_devices(void) 336void __init r8a7778_add_dt_devices(void)
337{ 337{
338 int i; 338 int i;
339 339
@@ -357,6 +357,11 @@ void __init r8a7778_add_standard_devices(void)
357 r8a7778_register_tmu(1); 357 r8a7778_register_tmu(1);
358} 358}
359 359
360void __init r8a7778_add_standard_devices(void)
361{
362 r8a7778_add_dt_devices();
363}
364
360void __init r8a7778_init_late(void) 365void __init r8a7778_init_late(void)
361{ 366{
362 phy = usb_get_phy(USB_PHY_TYPE_USB2); 367 phy = usb_get_phy(USB_PHY_TYPE_USB2);