diff options
Diffstat (limited to 'arch/arm/mach-shmobile/include/mach/common.h')
-rw-r--r-- | arch/arm/mach-shmobile/include/mach/common.h | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/arch/arm/mach-shmobile/include/mach/common.h b/arch/arm/mach-shmobile/include/mach/common.h index f80f9c549393..ed77ab8c9143 100644 --- a/arch/arm/mach-shmobile/include/mach/common.h +++ b/arch/arm/mach-shmobile/include/mach/common.h | |||
@@ -13,8 +13,10 @@ extern int shmobile_clk_init(void); | |||
13 | extern void shmobile_handle_irq_intc(struct pt_regs *); | 13 | extern void shmobile_handle_irq_intc(struct pt_regs *); |
14 | extern struct platform_suspend_ops shmobile_suspend_ops; | 14 | extern struct platform_suspend_ops shmobile_suspend_ops; |
15 | struct cpuidle_driver; | 15 | struct cpuidle_driver; |
16 | extern void (*shmobile_cpuidle_modes[])(void); | 16 | struct cpuidle_device; |
17 | extern void (*shmobile_cpuidle_setup)(struct cpuidle_driver *drv); | 17 | extern int shmobile_enter_wfi(struct cpuidle_device *dev, |
18 | struct cpuidle_driver *drv, int index); | ||
19 | extern void shmobile_cpuidle_set_driver(struct cpuidle_driver *drv); | ||
18 | 20 | ||
19 | extern void sh7367_init_irq(void); | 21 | extern void sh7367_init_irq(void); |
20 | extern void sh7367_map_io(void); | 22 | extern void sh7367_map_io(void); |
@@ -75,8 +77,6 @@ extern void r8a7740_meram_workaround(void); | |||
75 | 77 | ||
76 | extern void r8a7779_register_twd(void); | 78 | extern void r8a7779_register_twd(void); |
77 | 79 | ||
78 | extern void shmobile_init_late(void); | ||
79 | |||
80 | #ifdef CONFIG_SUSPEND | 80 | #ifdef CONFIG_SUSPEND |
81 | int shmobile_suspend_init(void); | 81 | int shmobile_suspend_init(void); |
82 | #else | 82 | #else |
@@ -100,4 +100,10 @@ static inline int shmobile_cpu_is_dead(unsigned int cpu) { return 1; } | |||
100 | 100 | ||
101 | extern void shmobile_smp_init_cpus(unsigned int ncores); | 101 | extern void shmobile_smp_init_cpus(unsigned int ncores); |
102 | 102 | ||
103 | static inline void shmobile_init_late(void) | ||
104 | { | ||
105 | shmobile_suspend_init(); | ||
106 | shmobile_cpuidle_init(); | ||
107 | } | ||
108 | |||
103 | #endif /* __ARCH_MACH_COMMON_H */ | 109 | #endif /* __ARCH_MACH_COMMON_H */ |