aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2013-03-28 04:48:30 -0400
committerSimon Horman <horms+renesas@verge.net.au>2013-04-01 22:02:18 -0400
commit014f93a08361282a0af0dd155c3b434431ea36df (patch)
tree6a0c35d53506a9a6aceaee536e5c69c32c9a211a /arch
parentdaf9aa98293528abcf24b015ae8aa6e075d37298 (diff)
ARM: shmobile: sh73a0: move global functions to sh73a0.h
There is no reason each CPU's own function has to exist in common.h. sh73a0_xxx() go to sh73a0.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.h16
-rw-r--r--arch/arm/mach-shmobile/include/mach/sh73a0.h15
2 files changed, 15 insertions, 16 deletions
diff --git a/arch/arm/mach-shmobile/include/mach/common.h b/arch/arm/mach-shmobile/include/mach/common.h
index d01a5511a5ac..48eeca9d25a3 100644
--- a/arch/arm/mach-shmobile/include/mach/common.h
+++ b/arch/arm/mach-shmobile/include/mach/common.h
@@ -19,22 +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 sh73a0_init_delay(void);
23extern void sh73a0_init_irq(void);
24extern void sh73a0_init_irq_dt(void);
25extern void sh73a0_map_io(void);
26extern void sh73a0_earlytimer_init(void);
27extern void sh73a0_add_early_devices(void);
28extern void sh73a0_add_standard_devices(void);
29extern void sh73a0_add_standard_devices_dt(void);
30extern void sh73a0_clock_init(void);
31extern void sh73a0_pinmux_init(void);
32extern void sh73a0_pm_init(void);
33extern struct clk sh73a0_extal1_clk;
34extern struct clk sh73a0_extal2_clk;
35extern struct clk sh73a0_extcki_clk;
36extern struct clk sh73a0_extalr_clk;
37
38extern void r8a7740_meram_workaround(void); 22extern void r8a7740_meram_workaround(void);
39extern void r8a7740_init_irq(void); 23extern void r8a7740_init_irq(void);
40extern void r8a7740_map_io(void); 24extern void r8a7740_map_io(void);
diff --git a/arch/arm/mach-shmobile/include/mach/sh73a0.h b/arch/arm/mach-shmobile/include/mach/sh73a0.h
index 606d31d02a4e..936da1b4a9c5 100644
--- a/arch/arm/mach-shmobile/include/mach/sh73a0.h
+++ b/arch/arm/mach-shmobile/include/mach/sh73a0.h
@@ -557,6 +557,21 @@ enum {
557#define SH73A0_PINT0_IRQ(irq) ((irq) + 700) 557#define SH73A0_PINT0_IRQ(irq) ((irq) + 700)
558#define SH73A0_PINT1_IRQ(irq) ((irq) + 732) 558#define SH73A0_PINT1_IRQ(irq) ((irq) + 732)
559 559
560extern void sh73a0_init_delay(void);
561extern void sh73a0_init_irq(void);
562extern void sh73a0_init_irq_dt(void);
563extern void sh73a0_map_io(void);
564extern void sh73a0_earlytimer_init(void);
565extern void sh73a0_add_early_devices(void);
566extern void sh73a0_add_standard_devices(void);
567extern void sh73a0_add_standard_devices_dt(void);
568extern void sh73a0_clock_init(void);
569extern void sh73a0_pinmux_init(void);
570extern void sh73a0_pm_init(void);
571extern struct clk sh73a0_extal1_clk;
572extern struct clk sh73a0_extal2_clk;
573extern struct clk sh73a0_extcki_clk;
574extern struct clk sh73a0_extalr_clk;
560extern struct smp_operations sh73a0_smp_ops; 575extern struct smp_operations sh73a0_smp_ops;
561 576
562#endif /* __ASM_SH73A0_H__ */ 577#endif /* __ASM_SH73A0_H__ */