提交 9c63f873 编写于 作者: P Piotr Kaczuba 提交者: Linus Torvalds

[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: NAndi Kleen <ak@suse.de>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 d39159c2
...@@ -1361,7 +1361,7 @@ struct seq_operations cpuinfo_op = { ...@@ -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)
{ {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册