Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9c63f873 authored by Piotr Kaczuba's avatar Piotr Kaczuba Committed by Linus Torvalds
Browse files

[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: default avatarAndi Kleen <ak@suse.de>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent d39159c2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1361,7 +1361,7 @@ struct seq_operations cpuinfo_op = {
	.show =	show_cpuinfo,
};

#ifdef CONFIG_INPUT_PCSPKR
#if defined(CONFIG_INPUT_PCSPKR) || defined(CONFIG_INPUT_PCSPKR_MODULE)
#include <linux/platform_device.h>
static __init int add_pcspkr(void)
{