aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2013-03-28 04:48:19 -0400
committerSimon Horman <horms+renesas@verge.net.au>2013-04-01 22:02:18 -0400
commitdaf9aa98293528abcf24b015ae8aa6e075d37298 (patch)
tree118b83dcbedeef2bb6b013badec14535ccf36935 /arch
parentec0728d67985690f329592e68f0f1fe1f2388e70 (diff)
ARM: shmobile: sh7372: move global functions to sh7372.h
There is no reason each CPU's own function has to exist in common.h. sh7372_xxx() go to sh7372.h Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Acked-by: Magnus Damm <damm@opensource.se> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-shmobile/include/mach/common.h15
-rw-r--r--arch/arm/mach-shmobile/include/mach/sh7372.h12
2 files changed, 12 insertions, 15 deletions
diff --git a/arch/arm/mach-shmobile/include/mach/common.h b/arch/arm/mach-shmobile/include/mach/common.h
index 03f73def2fc6..d01a5511a5ac 100644
--- a/arch/arm/mach-shmobile/include/mach/common.h
+++ b/arch/arm/mach-shmobile/include/mach/common.h
@@ -19,21 +19,6 @@ extern int shmobile_enter_wfi(struct cpuidle_device *dev,
19 struct cpuidle_driver *drv, int index); 19 struct cpuidle_driver *drv, int index);
20extern void shmobile_cpuidle_set_driver(struct cpuidle_driver *drv); 20extern void shmobile_cpuidle_set_driver(struct cpuidle_driver *drv);
21 21
22extern void sh7372_init_irq(void);
23extern void sh7372_map_io(void);
24extern void sh7372_earlytimer_init(void);
25extern void sh7372_add_early_devices(void);
26extern void sh7372_add_standard_devices(void);
27extern void sh7372_add_early_devices_dt(void);
28extern void sh7372_add_standard_devices_dt(void);
29extern void sh7372_clock_init(void);
30extern void sh7372_pinmux_init(void);
31extern void sh7372_pm_init(void);
32extern void sh7372_resume_core_standby_sysc(void);
33extern int sh7372_do_idle_sysc(unsigned long sleep_mode);
34extern struct clk sh7372_extal1_clk;
35extern struct clk sh7372_extal2_clk;
36
37extern void sh73a0_init_delay(void); 22extern void sh73a0_init_delay(void);
38extern void sh73a0_init_irq(void); 23extern void sh73a0_init_irq(void);
39extern void sh73a0_init_irq_dt(void); 24extern void sh73a0_init_irq_dt(void);
diff --git a/arch/arm/mach-shmobile/include/mach/sh7372.h b/arch/arm/mach-shmobile/include/mach/sh7372.h
index b582facc1cf6..f0ea60d6648a 100644
--- a/arch/arm/mach-shmobile/include/mach/sh7372.h
+++ b/arch/arm/mach-shmobile/include/mach/sh7372.h
@@ -478,6 +478,18 @@ extern struct clk sh7372_dv_clki_clk;
478extern struct clk sh7372_dv_clki_div2_clk; 478extern struct clk sh7372_dv_clki_div2_clk;
479extern struct clk sh7372_pllc2_clk; 479extern struct clk sh7372_pllc2_clk;
480 480
481extern void sh7372_init_irq(void);
482extern void sh7372_map_io(void);
483extern void sh7372_earlytimer_init(void);
484extern void sh7372_add_early_devices(void);
485extern void sh7372_add_standard_devices(void);
486extern void sh7372_add_early_devices_dt(void);
487extern void sh7372_add_standard_devices_dt(void);
488extern void sh7372_clock_init(void);
489extern void sh7372_pinmux_init(void);
490extern void sh7372_pm_init(void);
491extern void sh7372_resume_core_standby_sysc(void);
492extern int sh7372_do_idle_sysc(unsigned long sleep_mode);
481extern void sh7372_intcs_suspend(void); 493extern void sh7372_intcs_suspend(void);
482extern void sh7372_intcs_resume(void); 494extern void sh7372_intcs_resume(void);
483extern void sh7372_intca_suspend(void); 495extern void sh7372_intca_suspend(void);