[PATCH] x86_64: Fix modular pc speaker

It turned out that the following change is needed when the speaker is
compiled as a module.

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
Piotr Kaczuba 2006-06-26 13:59:38 +02:00 committed by Linus Torvalds
parent d39159c27f
commit 9c63f87387

View File

@ -1361,7 +1361,7 @@ struct seq_operations cpuinfo_op = {
.show = show_cpuinfo, .show = show_cpuinfo,
}; };
#ifdef CONFIG_INPUT_PCSPKR #if defined(CONFIG_INPUT_PCSPKR) || defined(CONFIG_INPUT_PCSPKR_MODULE)
#include <linux/platform_device.h> #include <linux/platform_device.h>
static __init int add_pcspkr(void) static __init int add_pcspkr(void)
{ {