diff options
Diffstat (limited to 'arch/arm/mach-omap2/pm.h')
-rw-r--r-- | arch/arm/mach-omap2/pm.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/pm.h b/arch/arm/mach-omap2/pm.h index fc3c96d5e013..c22503b17abd 100644 --- a/arch/arm/mach-omap2/pm.h +++ b/arch/arm/mach-omap2/pm.h | |||
@@ -138,4 +138,14 @@ static inline int omap4_twl_init(void) | |||
138 | } | 138 | } |
139 | #endif | 139 | #endif |
140 | 140 | ||
141 | #ifdef CONFIG_PM | ||
142 | extern void omap_pm_setup_oscillator(u32 tstart, u32 tshut); | ||
143 | extern void omap_pm_get_oscillator(u32 *tstart, u32 *tshut); | ||
144 | extern void omap_pm_setup_sr_i2c_pcb_length(u32 mm); | ||
145 | #else | ||
146 | static inline void omap_pm_setup_oscillator(u32 tstart, u32 tshut) { } | ||
147 | static inline void omap_pm_get_oscillator(u32 *tstart, u32 *tshut) { *tstart = *tshut = 0; } | ||
148 | static inline void omap_pm_setup_sr_i2c_pcb_length(u32 mm) { } | ||
149 | #endif | ||
150 | |||
141 | #endif | 151 | #endif |