diff options
Diffstat (limited to 'arch/arm/mach-shmobile/include/mach/common.h')
-rw-r--r-- | arch/arm/mach-shmobile/include/mach/common.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/arch/arm/mach-shmobile/include/mach/common.h b/arch/arm/mach-shmobile/include/mach/common.h index e4b945e271e7..83ad3fe0a75f 100644 --- a/arch/arm/mach-shmobile/include/mach/common.h +++ b/arch/arm/mach-shmobile/include/mach/common.h | |||
@@ -1,12 +1,15 @@ | |||
1 | #ifndef __ARCH_MACH_COMMON_H | 1 | #ifndef __ARCH_MACH_COMMON_H |
2 | #define __ARCH_MACH_COMMON_H | 2 | #define __ARCH_MACH_COMMON_H |
3 | 3 | ||
4 | extern void shmobile_earlytimer_init(void); | ||
4 | extern struct sys_timer shmobile_timer; | 5 | extern struct sys_timer shmobile_timer; |
6 | struct twd_local_timer; | ||
7 | void shmobile_twd_init(struct twd_local_timer *twd_local_timer); | ||
5 | extern void shmobile_setup_console(void); | 8 | extern void shmobile_setup_console(void); |
6 | extern void shmobile_secondary_vector(void); | 9 | extern void shmobile_secondary_vector(void); |
7 | extern int shmobile_platform_cpu_kill(unsigned int cpu); | 10 | extern int shmobile_platform_cpu_kill(unsigned int cpu); |
8 | struct clk; | 11 | struct clk; |
9 | extern int clk_init(void); | 12 | extern int shmobile_clk_init(void); |
10 | extern void shmobile_handle_irq_intc(struct pt_regs *); | 13 | extern void shmobile_handle_irq_intc(struct pt_regs *); |
11 | extern struct platform_suspend_ops shmobile_suspend_ops; | 14 | extern struct platform_suspend_ops shmobile_suspend_ops; |
12 | struct cpuidle_driver; | 15 | struct cpuidle_driver; |
@@ -14,6 +17,7 @@ extern void (*shmobile_cpuidle_modes[])(void); | |||
14 | extern void (*shmobile_cpuidle_setup)(struct cpuidle_driver *drv); | 17 | extern void (*shmobile_cpuidle_setup)(struct cpuidle_driver *drv); |
15 | 18 | ||
16 | extern void sh7367_init_irq(void); | 19 | extern void sh7367_init_irq(void); |
20 | extern void sh7367_map_io(void); | ||
17 | extern void sh7367_add_early_devices(void); | 21 | extern void sh7367_add_early_devices(void); |
18 | extern void sh7367_add_standard_devices(void); | 22 | extern void sh7367_add_standard_devices(void); |
19 | extern void sh7367_clock_init(void); | 23 | extern void sh7367_clock_init(void); |
@@ -22,6 +26,7 @@ extern struct clk sh7367_extalb1_clk; | |||
22 | extern struct clk sh7367_extal2_clk; | 26 | extern struct clk sh7367_extal2_clk; |
23 | 27 | ||
24 | extern void sh7377_init_irq(void); | 28 | extern void sh7377_init_irq(void); |
29 | extern void sh7377_map_io(void); | ||
25 | extern void sh7377_add_early_devices(void); | 30 | extern void sh7377_add_early_devices(void); |
26 | extern void sh7377_add_standard_devices(void); | 31 | extern void sh7377_add_standard_devices(void); |
27 | extern void sh7377_clock_init(void); | 32 | extern void sh7377_clock_init(void); |
@@ -30,6 +35,7 @@ extern struct clk sh7377_extalc1_clk; | |||
30 | extern struct clk sh7377_extal2_clk; | 35 | extern struct clk sh7377_extal2_clk; |
31 | 36 | ||
32 | extern void sh7372_init_irq(void); | 37 | extern void sh7372_init_irq(void); |
38 | extern void sh7372_map_io(void); | ||
33 | extern void sh7372_add_early_devices(void); | 39 | extern void sh7372_add_early_devices(void); |
34 | extern void sh7372_add_standard_devices(void); | 40 | extern void sh7372_add_standard_devices(void); |
35 | extern void sh7372_clock_init(void); | 41 | extern void sh7372_clock_init(void); |
@@ -41,6 +47,7 @@ extern struct clk sh7372_extal1_clk; | |||
41 | extern struct clk sh7372_extal2_clk; | 47 | extern struct clk sh7372_extal2_clk; |
42 | 48 | ||
43 | extern void sh73a0_init_irq(void); | 49 | extern void sh73a0_init_irq(void); |
50 | extern void sh73a0_map_io(void); | ||
44 | extern void sh73a0_add_early_devices(void); | 51 | extern void sh73a0_add_early_devices(void); |
45 | extern void sh73a0_add_standard_devices(void); | 52 | extern void sh73a0_add_standard_devices(void); |
46 | extern void sh73a0_clock_init(void); | 53 | extern void sh73a0_clock_init(void); |
@@ -56,12 +63,14 @@ extern int sh73a0_boot_secondary(unsigned int cpu); | |||
56 | extern void sh73a0_smp_prepare_cpus(void); | 63 | extern void sh73a0_smp_prepare_cpus(void); |
57 | 64 | ||
58 | extern void r8a7740_init_irq(void); | 65 | extern void r8a7740_init_irq(void); |
66 | extern void r8a7740_map_io(void); | ||
59 | extern void r8a7740_add_early_devices(void); | 67 | extern void r8a7740_add_early_devices(void); |
60 | extern void r8a7740_add_standard_devices(void); | 68 | extern void r8a7740_add_standard_devices(void); |
61 | extern void r8a7740_clock_init(u8 md_ck); | 69 | extern void r8a7740_clock_init(u8 md_ck); |
62 | extern void r8a7740_pinmux_init(void); | 70 | extern void r8a7740_pinmux_init(void); |
63 | 71 | ||
64 | extern void r8a7779_init_irq(void); | 72 | extern void r8a7779_init_irq(void); |
73 | extern void r8a7779_map_io(void); | ||
65 | extern void r8a7779_add_early_devices(void); | 74 | extern void r8a7779_add_early_devices(void); |
66 | extern void r8a7779_add_standard_devices(void); | 75 | extern void r8a7779_add_standard_devices(void); |
67 | extern void r8a7779_clock_init(void); | 76 | extern void r8a7779_clock_init(void); |