From: Kristian Mueller Date: Thu, 15 Dec 2005 04:31:55 +0000 (+0800) Subject: [PATCH] via-pmu: compile without Power Management support X-Git-Tag: v2.6.16.28-rc1~2025^2~42 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=a04c8780fd234aeeba5e87f7e37beffd05ef21ae;p=karo-tx-linux.git [PATCH] via-pmu: compile without Power Management support Fix compilation of via-pmu.c without Power Management support. Signed-off-by: Paul Mackerras --- 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];