]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/pmu.h
Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6
[linux-2.6-omap-h63xx.git] / include / linux / pmu.h
index b0952e532ed52a0e05cfb768bc7a479ce6d2ba34..b7824c21535487a0b8d7a9a16b504c7ad42b0399 100644 (file)
@@ -225,4 +225,12 @@ extern unsigned int pmu_power_flags;
 /* Backlight */
 extern void pmu_backlight_init(void);
 
+/* some code needs to know if the PMU was suspended for hibernation */
+#if defined(CONFIG_PM_SLEEP) && defined(CONFIG_PPC32)
+extern int pmu_sys_suspended;
+#else
+/* if power management is not configured it can't be suspended */
+#define pmu_sys_suspended      0
+#endif
+
 #endif /* __KERNEL__ */