diff options
Diffstat (limited to 'arch/arm/mach-omap2/pm.h')
-rw-r--r-- | arch/arm/mach-omap2/pm.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/arch/arm/mach-omap2/pm.h b/arch/arm/mach-omap2/pm.h index 45bcfce77352..babac19e3ec1 100644 --- a/arch/arm/mach-omap2/pm.h +++ b/arch/arm/mach-omap2/pm.h | |||
@@ -60,32 +60,16 @@ inline void omap3_pm_init_cpuidle(struct cpuidle_params *cpuidle_board_params) | |||
60 | extern int omap3_pm_get_suspend_state(struct powerdomain *pwrdm); | 60 | extern int omap3_pm_get_suspend_state(struct powerdomain *pwrdm); |
61 | extern int omap3_pm_set_suspend_state(struct powerdomain *pwrdm, int state); | 61 | extern int omap3_pm_set_suspend_state(struct powerdomain *pwrdm, int state); |
62 | 62 | ||
63 | extern u32 wakeup_timer_seconds; | ||
64 | extern u32 wakeup_timer_milliseconds; | ||
65 | extern struct omap_dm_timer *gptimer_wakeup; | ||
66 | |||
67 | #ifdef CONFIG_PM_DEBUG | 63 | #ifdef CONFIG_PM_DEBUG |
68 | extern void omap2_pm_dump(int mode, int resume, unsigned int us); | ||
69 | extern void omap2_pm_wakeup_on_timer(u32 seconds, u32 milliseconds); | ||
70 | extern int omap2_pm_debug; | ||
71 | extern u32 enable_off_mode; | 64 | extern u32 enable_off_mode; |
72 | extern u32 sleep_while_idle; | ||
73 | #else | 65 | #else |
74 | #define omap2_pm_dump(mode, resume, us) do {} while (0); | ||
75 | #define omap2_pm_wakeup_on_timer(seconds, milliseconds) do {} while (0); | ||
76 | #define omap2_pm_debug 0 | ||
77 | #define enable_off_mode 0 | 66 | #define enable_off_mode 0 |
78 | #define sleep_while_idle 0 | ||
79 | #endif | 67 | #endif |
80 | 68 | ||
81 | #if defined(CONFIG_PM_DEBUG) && defined(CONFIG_DEBUG_FS) | 69 | #if defined(CONFIG_PM_DEBUG) && defined(CONFIG_DEBUG_FS) |
82 | extern void pm_dbg_update_time(struct powerdomain *pwrdm, int prev); | 70 | extern void pm_dbg_update_time(struct powerdomain *pwrdm, int prev); |
83 | extern int pm_dbg_regset_save(int reg_set); | ||
84 | extern int pm_dbg_regset_init(int reg_set); | ||
85 | #else | 71 | #else |
86 | #define pm_dbg_update_time(pwrdm, prev) do {} while (0); | 72 | #define pm_dbg_update_time(pwrdm, prev) do {} while (0); |
87 | #define pm_dbg_regset_save(reg_set) do {} while (0); | ||
88 | #define pm_dbg_regset_init(reg_set) do {} while (0); | ||
89 | #endif /* CONFIG_PM_DEBUG */ | 73 | #endif /* CONFIG_PM_DEBUG */ |
90 | 74 | ||
91 | extern void omap24xx_idle_loop_suspend(void); | 75 | extern void omap24xx_idle_loop_suspend(void); |