|
@@ -226,7 +226,7 @@ extern unsigned int pmu_power_flags;
|
|
extern void pmu_backlight_init(void);
|
|
extern void pmu_backlight_init(void);
|
|
|
|
|
|
/* some code needs to know if the PMU was suspended for hibernation */
|
|
/* some code needs to know if the PMU was suspended for hibernation */
|
|
-#ifdef CONFIG_PM
|
|
|
|
|
|
+#if defined(CONFIG_PM) && defined(CONFIG_PPC32)
|
|
extern int pmu_sys_suspended;
|
|
extern int pmu_sys_suspended;
|
|
#else
|
|
#else
|
|
/* if power management is not configured it can't be suspended */
|
|
/* if power management is not configured it can't be suspended */
|