aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-shmobile/setup-sh7372.c
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2014-04-15 08:33:59 -0400
committerSimon Horman <horms+renesas@verge.net.au>2014-04-15 21:01:46 -0400
commit1fba31f047639a6c7accf4f6d075a6cf9eacecc0 (patch)
tree6756e0e976b7d82cdc3c76c4bc0188001ad0c9c3 /arch/arm/mach-shmobile/setup-sh7372.c
parent72dc392ae5bbad3477053ac4c5708dba6706ffa0 (diff)
ARM: shmobile: sh7372: Call sh7372_add_early_devices() instead of open coding
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch/arm/mach-shmobile/setup-sh7372.c')
-rw-r--r--arch/arm/mach-shmobile/setup-sh7372.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/arch/arm/mach-shmobile/setup-sh7372.c b/arch/arm/mach-shmobile/setup-sh7372.c
index 27301278c208..f8176b051be4 100644
--- a/arch/arm/mach-shmobile/setup-sh7372.c
+++ b/arch/arm/mach-shmobile/setup-sh7372.c
@@ -1037,11 +1037,7 @@ void __init sh7372_add_early_devices_dt(void)
1037{ 1037{
1038 shmobile_setup_delay(800, 1, 3); /* Cortex-A8 @ 800MHz */ 1038 shmobile_setup_delay(800, 1, 3); /* Cortex-A8 @ 800MHz */
1039 1039
1040 early_platform_add_devices(sh7372_early_devices, 1040 sh7372_add_early_devices();
1041 ARRAY_SIZE(sh7372_early_devices));
1042
1043 /* setup early console here as well */
1044 shmobile_setup_console();
1045} 1041}
1046 1042
1047void __init sh7372_add_standard_devices_dt(void) 1043void __init sh7372_add_standard_devices_dt(void)