diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2013-03-28 04:48:19 -0400 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2013-04-01 22:02:18 -0400 |
commit | daf9aa98293528abcf24b015ae8aa6e075d37298 (patch) | |
tree | 118b83dcbedeef2bb6b013badec14535ccf36935 /arch | |
parent | ec0728d67985690f329592e68f0f1fe1f2388e70 (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.h | 15 | ||||
-rw-r--r-- | arch/arm/mach-shmobile/include/mach/sh7372.h | 12 |
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); |
20 | extern void shmobile_cpuidle_set_driver(struct cpuidle_driver *drv); | 20 | extern void shmobile_cpuidle_set_driver(struct cpuidle_driver *drv); |
21 | 21 | ||
22 | extern void sh7372_init_irq(void); | ||
23 | extern void sh7372_map_io(void); | ||
24 | extern void sh7372_earlytimer_init(void); | ||
25 | extern void sh7372_add_early_devices(void); | ||
26 | extern void sh7372_add_standard_devices(void); | ||
27 | extern void sh7372_add_early_devices_dt(void); | ||
28 | extern void sh7372_add_standard_devices_dt(void); | ||
29 | extern void sh7372_clock_init(void); | ||
30 | extern void sh7372_pinmux_init(void); | ||
31 | extern void sh7372_pm_init(void); | ||
32 | extern void sh7372_resume_core_standby_sysc(void); | ||
33 | extern int sh7372_do_idle_sysc(unsigned long sleep_mode); | ||
34 | extern struct clk sh7372_extal1_clk; | ||
35 | extern struct clk sh7372_extal2_clk; | ||
36 | |||
37 | extern void sh73a0_init_delay(void); | 22 | extern void sh73a0_init_delay(void); |
38 | extern void sh73a0_init_irq(void); | 23 | extern void sh73a0_init_irq(void); |
39 | extern void sh73a0_init_irq_dt(void); | 24 | extern 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; | |||
478 | extern struct clk sh7372_dv_clki_div2_clk; | 478 | extern struct clk sh7372_dv_clki_div2_clk; |
479 | extern struct clk sh7372_pllc2_clk; | 479 | extern struct clk sh7372_pllc2_clk; |
480 | 480 | ||
481 | extern void sh7372_init_irq(void); | ||
482 | extern void sh7372_map_io(void); | ||
483 | extern void sh7372_earlytimer_init(void); | ||
484 | extern void sh7372_add_early_devices(void); | ||
485 | extern void sh7372_add_standard_devices(void); | ||
486 | extern void sh7372_add_early_devices_dt(void); | ||
487 | extern void sh7372_add_standard_devices_dt(void); | ||
488 | extern void sh7372_clock_init(void); | ||
489 | extern void sh7372_pinmux_init(void); | ||
490 | extern void sh7372_pm_init(void); | ||
491 | extern void sh7372_resume_core_standby_sysc(void); | ||
492 | extern int sh7372_do_idle_sysc(unsigned long sleep_mode); | ||
481 | extern void sh7372_intcs_suspend(void); | 493 | extern void sh7372_intcs_suspend(void); |
482 | extern void sh7372_intcs_resume(void); | 494 | extern void sh7372_intcs_resume(void); |
483 | extern void sh7372_intca_suspend(void); | 495 | extern void sh7372_intca_suspend(void); |