diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2013-03-28 04:49:15 -0400 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2013-04-01 22:02:19 -0400 |
commit | f96c764dac2c2761fc05164255c0ed689b8ac496 (patch) | |
tree | 24717521dcdf1c1115c43b7109ebf6e7850143d2 /arch/arm/mach-shmobile/include/mach | |
parent | 014f93a08361282a0af0dd155c3b434431ea36df (diff) |
ARM: shmobile: r8a7740: move global functions to r8a7740.h
There is no reason each CPU's own function has to exist in common.h.
r8a7740_xxx() go to r8a7740.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/arm/mach-shmobile/include/mach')
-rw-r--r-- | arch/arm/mach-shmobile/include/mach/common.h | 9 | ||||
-rw-r--r-- | arch/arm/mach-shmobile/include/mach/r8a7740.h | 9 |
2 files changed, 9 insertions, 9 deletions
diff --git a/arch/arm/mach-shmobile/include/mach/common.h b/arch/arm/mach-shmobile/include/mach/common.h index 48eeca9d25a3..4d5410de00d6 100644 --- a/arch/arm/mach-shmobile/include/mach/common.h +++ b/arch/arm/mach-shmobile/include/mach/common.h | |||
@@ -19,15 +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 r8a7740_meram_workaround(void); | ||
23 | extern void r8a7740_init_irq(void); | ||
24 | extern void r8a7740_map_io(void); | ||
25 | extern void r8a7740_add_early_devices(void); | ||
26 | extern void r8a7740_add_standard_devices(void); | ||
27 | extern void r8a7740_clock_init(u8 md_ck); | ||
28 | extern void r8a7740_pinmux_init(void); | ||
29 | extern void r8a7740_pm_init(void); | ||
30 | |||
31 | extern void r8a7779_init_delay(void); | 22 | extern void r8a7779_init_delay(void); |
32 | extern void r8a7779_init_irq(void); | 23 | extern void r8a7779_init_irq(void); |
33 | extern void r8a7779_init_irq_extpin(int irlm); | 24 | extern void r8a7779_init_irq_extpin(int irlm); |
diff --git a/arch/arm/mach-shmobile/include/mach/r8a7740.h b/arch/arm/mach-shmobile/include/mach/r8a7740.h index 59d252f4cf97..5a879bbe145f 100644 --- a/arch/arm/mach-shmobile/include/mach/r8a7740.h +++ b/arch/arm/mach-shmobile/include/mach/r8a7740.h | |||
@@ -606,6 +606,15 @@ enum { | |||
606 | SHDMA_SLAVE_USBHS_RX, | 606 | SHDMA_SLAVE_USBHS_RX, |
607 | }; | 607 | }; |
608 | 608 | ||
609 | extern void r8a7740_meram_workaround(void); | ||
610 | extern void r8a7740_init_irq(void); | ||
611 | extern void r8a7740_map_io(void); | ||
612 | extern void r8a7740_add_early_devices(void); | ||
613 | extern void r8a7740_add_standard_devices(void); | ||
614 | extern void r8a7740_clock_init(u8 md_ck); | ||
615 | extern void r8a7740_pinmux_init(void); | ||
616 | extern void r8a7740_pm_init(void); | ||
617 | |||
609 | #ifdef CONFIG_PM | 618 | #ifdef CONFIG_PM |
610 | extern void __init r8a7740_init_pm_domains(void); | 619 | extern void __init r8a7740_init_pm_domains(void); |
611 | #else | 620 | #else |