diff options
Diffstat (limited to 'arch/arm/mach-omap2/pm.h')
-rw-r--r-- | arch/arm/mach-omap2/pm.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/pm.h b/arch/arm/mach-omap2/pm.h index 09c0144e90d1..58a2671e6147 100644 --- a/arch/arm/mach-omap2/pm.h +++ b/arch/arm/mach-omap2/pm.h | |||
@@ -23,6 +23,21 @@ extern int omap3_can_sleep(void); | |||
23 | extern int set_pwrdm_state(struct powerdomain *pwrdm, u32 state); | 23 | extern int set_pwrdm_state(struct powerdomain *pwrdm, u32 state); |
24 | extern int omap3_idle_init(void); | 24 | extern int omap3_idle_init(void); |
25 | 25 | ||
26 | struct cpuidle_params { | ||
27 | u32 sleep_latency; | ||
28 | u32 wake_latency; | ||
29 | u32 threshold; | ||
30 | }; | ||
31 | |||
32 | #if defined(CONFIG_PM) && defined(CONFIG_CPU_IDLE) | ||
33 | extern void omap3_pm_init_cpuidle(struct cpuidle_params *cpuidle_board_params); | ||
34 | #else | ||
35 | static | ||
36 | inline void omap3_pm_init_cpuidle(struct cpuidle_params *cpuidle_board_params) | ||
37 | { | ||
38 | } | ||
39 | #endif | ||
40 | |||
26 | extern int omap3_pm_get_suspend_state(struct powerdomain *pwrdm); | 41 | extern int omap3_pm_get_suspend_state(struct powerdomain *pwrdm); |
27 | extern int omap3_pm_set_suspend_state(struct powerdomain *pwrdm, int state); | 42 | extern int omap3_pm_set_suspend_state(struct powerdomain *pwrdm, int state); |
28 | 43 | ||