|
@@ -23,8 +23,6 @@ struct clk;
|
|
extern int shmobile_clk_init(void);
|
|
extern int shmobile_clk_init(void);
|
|
extern void shmobile_handle_irq_intc(struct pt_regs *);
|
|
extern void shmobile_handle_irq_intc(struct pt_regs *);
|
|
extern struct platform_suspend_ops shmobile_suspend_ops;
|
|
extern struct platform_suspend_ops shmobile_suspend_ops;
|
|
-struct cpuidle_driver;
|
|
|
|
-extern void shmobile_cpuidle_set_driver(struct cpuidle_driver *drv);
|
|
|
|
|
|
|
|
#ifdef CONFIG_SUSPEND
|
|
#ifdef CONFIG_SUSPEND
|
|
int shmobile_suspend_init(void);
|
|
int shmobile_suspend_init(void);
|
|
@@ -34,12 +32,6 @@ static inline int shmobile_suspend_init(void) { return 0; }
|
|
static inline void shmobile_smp_apmu_suspend_init(void) { }
|
|
static inline void shmobile_smp_apmu_suspend_init(void) { }
|
|
#endif
|
|
#endif
|
|
|
|
|
|
-#ifdef CONFIG_CPU_IDLE
|
|
|
|
-int shmobile_cpuidle_init(void);
|
|
|
|
-#else
|
|
|
|
-static inline int shmobile_cpuidle_init(void) { return 0; }
|
|
|
|
-#endif
|
|
|
|
-
|
|
|
|
#ifdef CONFIG_CPU_FREQ
|
|
#ifdef CONFIG_CPU_FREQ
|
|
int shmobile_cpufreq_init(void);
|
|
int shmobile_cpufreq_init(void);
|
|
#else
|
|
#else
|
|
@@ -51,7 +43,6 @@ extern void __iomem *shmobile_scu_base;
|
|
static inline void __init shmobile_init_late(void)
|
|
static inline void __init shmobile_init_late(void)
|
|
{
|
|
{
|
|
shmobile_suspend_init();
|
|
shmobile_suspend_init();
|
|
- shmobile_cpuidle_init();
|
|
|
|
shmobile_cpufreq_init();
|
|
shmobile_cpufreq_init();
|
|
}
|
|
}
|
|
|
|
|