diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2013-03-28 04:49:27 -0400 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2013-04-01 22:02:19 -0400 |
commit | 60e3a566897dcdd8621464ff46f4537903c2255a (patch) | |
tree | 73221a48d06977a940f1d87aefd876d3c42f9ee3 /arch/arm/mach-shmobile | |
parent | f96c764dac2c2761fc05164255c0ed689b8ac496 (diff) |
ARM: shmobile: r8a7779: move global functions to r8a7779.h
There is no reason each CPU's own function has to exist in common.h.
r8a7779_xxx() go to r8a7779.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')
-rw-r--r-- | arch/arm/mach-shmobile/include/mach/common.h | 14 | ||||
-rw-r--r-- | arch/arm/mach-shmobile/include/mach/r8a7779.h | 13 |
2 files changed, 13 insertions, 14 deletions
diff --git a/arch/arm/mach-shmobile/include/mach/common.h b/arch/arm/mach-shmobile/include/mach/common.h index 4d5410de00d6..e002cfd9d2df 100644 --- a/arch/arm/mach-shmobile/include/mach/common.h +++ b/arch/arm/mach-shmobile/include/mach/common.h | |||
@@ -19,20 +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 r8a7779_init_delay(void); | ||
23 | extern void r8a7779_init_irq(void); | ||
24 | extern void r8a7779_init_irq_extpin(int irlm); | ||
25 | extern void r8a7779_init_irq_dt(void); | ||
26 | extern void r8a7779_map_io(void); | ||
27 | extern void r8a7779_earlytimer_init(void); | ||
28 | extern void r8a7779_add_early_devices(void); | ||
29 | extern void r8a7779_add_standard_devices(void); | ||
30 | extern void r8a7779_add_standard_devices_dt(void); | ||
31 | extern void r8a7779_clock_init(void); | ||
32 | extern void r8a7779_pinmux_init(void); | ||
33 | extern void r8a7779_pm_init(void); | ||
34 | extern void r8a7779_register_twd(void); | ||
35 | |||
36 | #ifdef CONFIG_SUSPEND | 22 | #ifdef CONFIG_SUSPEND |
37 | int shmobile_suspend_init(void); | 23 | int shmobile_suspend_init(void); |
38 | #else | 24 | #else |
diff --git a/arch/arm/mach-shmobile/include/mach/r8a7779.h b/arch/arm/mach-shmobile/include/mach/r8a7779.h index 8ab0cd6ad6b0..af38750f38f7 100644 --- a/arch/arm/mach-shmobile/include/mach/r8a7779.h +++ b/arch/arm/mach-shmobile/include/mach/r8a7779.h | |||
@@ -343,6 +343,19 @@ static inline struct r8a7779_pm_ch *to_r8a7779_ch(struct generic_pm_domain *d) | |||
343 | return &container_of(d, struct r8a7779_pm_domain, genpd)->ch; | 343 | return &container_of(d, struct r8a7779_pm_domain, genpd)->ch; |
344 | } | 344 | } |
345 | 345 | ||
346 | extern void r8a7779_init_delay(void); | ||
347 | extern void r8a7779_init_irq(void); | ||
348 | extern void r8a7779_init_irq_extpin(int irlm); | ||
349 | extern void r8a7779_init_irq_dt(void); | ||
350 | extern void r8a7779_map_io(void); | ||
351 | extern void r8a7779_earlytimer_init(void); | ||
352 | extern void r8a7779_add_early_devices(void); | ||
353 | extern void r8a7779_add_standard_devices(void); | ||
354 | extern void r8a7779_add_standard_devices_dt(void); | ||
355 | extern void r8a7779_clock_init(void); | ||
356 | extern void r8a7779_pinmux_init(void); | ||
357 | extern void r8a7779_pm_init(void); | ||
358 | extern void r8a7779_register_twd(void); | ||
346 | extern int r8a7779_sysc_power_down(struct r8a7779_pm_ch *r8a7779_ch); | 359 | extern int r8a7779_sysc_power_down(struct r8a7779_pm_ch *r8a7779_ch); |
347 | extern int r8a7779_sysc_power_up(struct r8a7779_pm_ch *r8a7779_ch); | 360 | extern int r8a7779_sysc_power_up(struct r8a7779_pm_ch *r8a7779_ch); |
348 | 361 | ||