forked from Minki/linux
[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:
parent
d39159c27f
commit
9c63f87387
@ -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)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user