Commit e7042d15 authored by Colin Leroy's avatar Colin Leroy Committed by Linus Torvalds

[PATCH] fix via-pmu.c compilation without CONFIG_PMAC_PBOOK

This patch fixes via-pmu.c compilation when CONFIG_PMAC_PBOOK is not set.
Looks like the #endif was one line too late.
Signed-off-by: default avatarColin Leroy <colin@colino.net>
Acked-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent f13ddaf6
...@@ -153,8 +153,8 @@ static int drop_interrupts; ...@@ -153,8 +153,8 @@ static int drop_interrupts;
static int option_lid_wakeup = 1; static int option_lid_wakeup = 1;
static int sleep_in_progress; static int sleep_in_progress;
static int can_sleep; static int can_sleep;
static unsigned long async_req_locks;
#endif /* CONFIG_PMAC_PBOOK */ #endif /* CONFIG_PMAC_PBOOK */
static unsigned long async_req_locks;
static unsigned int pmu_irq_stats[11]; static unsigned int pmu_irq_stats[11];
static struct proc_dir_entry *proc_pmu_root; static struct proc_dir_entry *proc_pmu_root;
......
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