[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>
This commit is contained in:
Kristian Mueller 2005-12-15 12:31:55 +08:00 committed by Paul Mackerras
parent 14c89e7fc8
commit a04c8780fd

View 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];