]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] via-pmu: compile without Power Management support
authorKristian Mueller <Kristian-M@Kristian-M.de>
Thu, 15 Dec 2005 04:31:55 +0000 (12:31 +0800)
committerPaul Mackerras <paulus@samba.org>
Mon, 9 Jan 2006 04:05:51 +0000 (15:05 +1100)
Fix compilation of via-pmu.c without Power Management support.

Signed-off-by: Paul Mackerras <paulus@samba.org>
drivers/macintosh/via-pmu.c

index 79c7b44a94eef5c87ab3cad7384ac5947bbc8e6a..3c0552016b91383f4c7931afc3f3205ca5399797 100644 (file)
@@ -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];