summaryrefslogtreecommitdiffstats
path: root/drivers/macintosh
diff options
context:
space:
mode:
authorKristian Mueller <Kristian-M@Kristian-M.de>2005-12-15 05:31:55 +0100
committerPaul Mackerras <paulus@samba.org>2006-01-09 05:05:51 +0100
commita04c8780fd234aeeba5e87f7e37beffd05ef21ae (patch)
treef7536fe6ac9e56d5760539a63430df69dcee320c /drivers/macintosh
parent[PATCH] powerpc: Replace VMALLOCBASE with VMALLOC_START (diff)
downloadlinux-a04c8780fd234aeeba5e87f7e37beffd05ef21ae.tar.xz
linux-a04c8780fd234aeeba5e87f7e37beffd05ef21ae.zip
[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/macintosh')
-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 79c7b44a94ee..3c0552016b91 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];