summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2006-03-21 23:20:27 -0800
committerPaul Mackerras <paulus@samba.org>2006-03-23 14:40:43 +1100
commit57ae595f6bf8bde42de199ff9fe68b873080fde2 (patch)
treee7c28cfe559b637baeb18356ca826f5bf8cc4e4d /drivers
parent3e52174ec8fd9d8671b69b8e7decb465aaf519c0 (diff)
downloadop-kernel-dev-57ae595f6bf8bde42de199ff9fe68b873080fde2.zip
op-kernel-dev-57ae595f6bf8bde42de199ff9fe68b873080fde2.tar.gz
[PATCH] powerpc: via-pmu warning fix
drivers/macintosh/via-pmu.c:164: warning: `sleep_in_progress' defined but not used Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/macintosh/via-pmu.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/macintosh/via-pmu.c b/drivers/macintosh/via-pmu.c
index 8a8fffa..4f5f3ab 100644
--- a/drivers/macintosh/via-pmu.c
+++ b/drivers/macintosh/via-pmu.c
@@ -161,7 +161,9 @@ static int drop_interrupts;
#if defined(CONFIG_PM) && defined(CONFIG_PPC32)
static int option_lid_wakeup = 1;
#endif /* CONFIG_PM && CONFIG_PPC32 */
+#if (defined(CONFIG_PM)&&defined(CONFIG_PPC32))||defined(CONFIG_PMAC_BACKLIGHT)
static int sleep_in_progress;
+#endif
static unsigned long async_req_locks;
static unsigned int pmu_irq_stats[11];
OpenPOWER on IntegriCloud