aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2015-02-17 09:52:40 -0500
committerSimon Horman <horms+renesas@verge.net.au>2015-02-23 18:22:49 -0500
commit05813a8112cd0e38f14b53ecc2b381824cb2aeb4 (patch)
tree6bb89352b6c14adcc83f4d58707192f6ffc65cd4
parent30225743852ed5c3e732d7debe6c1f473c807d62 (diff)
ARM: shmobile: sh73a0: Remove unused sh73a0_add_standard_devices_dt()
"ARM: shmobile: kzm9g-reference: Remove board C code and DT file" removed the last user of sh73a0_add_standard_devices_dt(). Hence remove this function. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
-rw-r--r--arch/arm/mach-shmobile/setup-sh73a0.c9
-rw-r--r--arch/arm/mach-shmobile/sh73a0.h1
2 files changed, 0 insertions, 10 deletions
diff --git a/arch/arm/mach-shmobile/setup-sh73a0.c b/arch/arm/mach-shmobile/setup-sh73a0.c
index 48f2447ab01f..2f68459e7811 100644
--- a/arch/arm/mach-shmobile/setup-sh73a0.c
+++ b/arch/arm/mach-shmobile/setup-sh73a0.c
@@ -783,15 +783,6 @@ void __init sh73a0_add_early_devices(void)
783 shmobile_setup_console(); 783 shmobile_setup_console();
784} 784}
785 785
786void __init sh73a0_add_standard_devices_dt(void)
787{
788 /* clocks are setup late during boot in the case of DT */
789#ifndef CONFIG_COMMON_CLK
790 sh73a0_clock_init();
791#endif
792 of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);
793}
794
795#define RESCNT2 IOMEM(0xe6188020) 786#define RESCNT2 IOMEM(0xe6188020)
796static void sh73a0_restart(enum reboot_mode mode, const char *cmd) 787static void sh73a0_restart(enum reboot_mode mode, const char *cmd)
797{ 788{
diff --git a/arch/arm/mach-shmobile/sh73a0.h b/arch/arm/mach-shmobile/sh73a0.h
index f037c64b14fc..5a80f18b4fa0 100644
--- a/arch/arm/mach-shmobile/sh73a0.h
+++ b/arch/arm/mach-shmobile/sh73a0.h
@@ -77,7 +77,6 @@ extern void sh73a0_map_io(void);
77extern void sh73a0_earlytimer_init(void); 77extern void sh73a0_earlytimer_init(void);
78extern void sh73a0_add_early_devices(void); 78extern void sh73a0_add_early_devices(void);
79extern void sh73a0_add_standard_devices(void); 79extern void sh73a0_add_standard_devices(void);
80extern void sh73a0_add_standard_devices_dt(void);
81extern void sh73a0_clock_init(void); 80extern void sh73a0_clock_init(void);
82extern void sh73a0_pinmux_init(void); 81extern void sh73a0_pinmux_init(void);
83extern void sh73a0_pm_init(void); 82extern void sh73a0_pm_init(void);