diff options
author | Andrew Morton <akpm@osdl.org> | 2006-03-22 02:20:27 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-03-22 22:40:43 -0500 |
commit | 57ae595f6bf8bde42de199ff9fe68b873080fde2 (patch) | |
tree | e7c28cfe559b637baeb18356ca826f5bf8cc4e4d /drivers/macintosh/via-pmu.c | |
parent | 3e52174ec8fd9d8671b69b8e7decb465aaf519c0 (diff) |
[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/macintosh/via-pmu.c')
-rw-r--r-- | drivers/macintosh/via-pmu.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/macintosh/via-pmu.c b/drivers/macintosh/via-pmu.c index 8a8fffa339f0..4f5f3abc9cb3 100644 --- a/drivers/macintosh/via-pmu.c +++ b/drivers/macintosh/via-pmu.c | |||
@@ -161,7 +161,9 @@ static int drop_interrupts; | |||
161 | #if defined(CONFIG_PM) && defined(CONFIG_PPC32) | 161 | #if defined(CONFIG_PM) && defined(CONFIG_PPC32) |
162 | static int option_lid_wakeup = 1; | 162 | static int option_lid_wakeup = 1; |
163 | #endif /* CONFIG_PM && CONFIG_PPC32 */ | 163 | #endif /* CONFIG_PM && CONFIG_PPC32 */ |
164 | #if (defined(CONFIG_PM)&&defined(CONFIG_PPC32))||defined(CONFIG_PMAC_BACKLIGHT) | ||
164 | static int sleep_in_progress; | 165 | static int sleep_in_progress; |
166 | #endif | ||
165 | static unsigned long async_req_locks; | 167 | static unsigned long async_req_locks; |
166 | static unsigned int pmu_irq_stats[11]; | 168 | static unsigned int pmu_irq_stats[11]; |
167 | 169 | ||