summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/pm.h
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2012-11-14 23:50:36 +0100
committerTony Lindgren <tony@atomide.com>2012-11-14 23:50:36 +0100
commit6515b0f75af68ad5e36f5297bb6b9a5ba3e710d2 (patch)
treeb269fe5e647107a75f677bb01dcec7fc6a41bb67 /arch/arm/mach-omap2/pm.h
parentMerge tag 'for_3.8-pm-omap4-core-ret' of git://git.kernel.org/pub/scm/linux/k... (diff)
parentMerge tag 'for_3.8-pm-voltage' of git://git.kernel.org/pub/scm/linux/kernel/g... (diff)
downloadlinux-6515b0f75af68ad5e36f5297bb6b9a5ba3e710d2.tar.xz
linux-6515b0f75af68ad5e36f5297bb6b9a5ba3e710d2.zip
Merge branch 'omap-for-v3.8/pm' into omap-for-v3.8/pm-part2
Diffstat (limited to 'arch/arm/mach-omap2/pm.h')
-rw-r--r--arch/arm/mach-omap2/pm.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/pm.h b/arch/arm/mach-omap2/pm.h
index 67d66131cfa7..4db7b238a0d5 100644
--- a/arch/arm/mach-omap2/pm.h
+++ b/arch/arm/mach-omap2/pm.h
@@ -129,4 +129,14 @@ static inline int omap4_twl_init(void)
}
#endif
+#ifdef CONFIG_PM
+extern void omap_pm_setup_oscillator(u32 tstart, u32 tshut);
+extern void omap_pm_get_oscillator(u32 *tstart, u32 *tshut);
+extern void omap_pm_setup_sr_i2c_pcb_length(u32 mm);
+#else
+static inline void omap_pm_setup_oscillator(u32 tstart, u32 tshut) { }
+static inline void omap_pm_get_oscillator(u32 *tstart, u32 *tshut) { }
+static inline void omap_pm_setup_sr_i2c_pcb_length(u32 mm) { }
+#endif
+
#endif