Browse Source

[PATCH] via-pmu: compile without Power Management support

Fix compilation of via-pmu.c without Power Management support.

Signed-off-by: Paul Mackerras <paulus@samba.org>
Kristian Mueller 19 years ago
parent
commit
a04c8780fd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/macintosh/via-pmu.c

+ 1 - 1
drivers/macintosh/via-pmu.c

@@ -158,8 +158,8 @@ static int pmu_version;
 static int drop_interrupts;
 #if defined(CONFIG_PM) && defined(CONFIG_PPC32)
 static int option_lid_wakeup = 1;
-static int sleep_in_progress;
 #endif /* CONFIG_PM && CONFIG_PPC32 */
+static int sleep_in_progress;
 static unsigned long async_req_locks;
 static unsigned int pmu_irq_stats[11];