aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorKristian Mueller <Kristian-M@Kristian-M.de>2005-12-15 12:31:55 +0800
committerPaul Mackerras <paulus@samba.org>2006-01-09 15:05:51 +1100
commita04c8780fd234aeeba5e87f7e37beffd05ef21ae (patch)
treef7536fe6ac9e56d5760539a63430df69dcee320c /drivers
parent14c89e7fc84ae55354b8bf12fee1b6d14f259c8a (diff)
downloadlinux-a04c8780fd234aeeba5e87f7e37beffd05ef21ae.tar.gz
[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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/macintosh/via-pmu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/macintosh/via-pmu.c b/drivers/macintosh/via-pmu.c
index 79c7b44a94eef5..3c0552016b9138 100644
--- a/drivers/macintosh/via-pmu.c
+++ b/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];