Commit a04c8780 authored by Kristian Mueller's avatar Kristian Mueller Committed by Paul Mackerras

[PATCH] via-pmu: compile without Power Management support

Fix compilation of via-pmu.c without Power Management support.
Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
parent 14c89e7f
...@@ -158,8 +158,8 @@ static int pmu_version; ...@@ -158,8 +158,8 @@ static int pmu_version;
static int drop_interrupts; static int drop_interrupts;
#if defined(CONFIG_PM) && defined(CONFIG_PPC32) #if defined(CONFIG_PM) && defined(CONFIG_PPC32)
static int option_lid_wakeup = 1; static int option_lid_wakeup = 1;
static int sleep_in_progress;
#endif /* CONFIG_PM && CONFIG_PPC32 */ #endif /* CONFIG_PM && CONFIG_PPC32 */
static int sleep_in_progress;
static unsigned long async_req_locks; static unsigned long async_req_locks;
static unsigned int pmu_irq_stats[11]; static unsigned int pmu_irq_stats[11];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment