]> 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 37ca57392addbfe69f0707d8b493653b4ccaa6ca..b7824c21535487a0b8d7a9a16b504c7ad42b0399 100644 (file)
@@ -226,7 +226,7 @@ extern unsigned int pmu_power_flags;
 extern void pmu_backlight_init(void);
 
 /* some code needs to know if the PMU was suspended for hibernation */
-#ifdef CONFIG_PM
+#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 */