From: Randy Dunlap Date: Thu, 16 Oct 2008 05:01:29 +0000 (-0700) Subject: eeepc: depends on RFKILL X-Git-Tag: v2.6.28-rc1~539 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=fca692c0a923c142c28d65e1101806bac1f69bb5;p=linux-2.6-omap-h63xx.git eeepc: depends on RFKILL EEEPC_LAPTOP uses RFKILL, so the former should depend on RFKILL. Build errors happen when EEEPC_LAPTOP=y and RFKILL=m. eeepc-laptop.c:(.text+0xd5a7b): undefined reference to `rfkill_allocate' eeepc-laptop.c:(.text+0xd5b04): undefined reference to `rfkill_register' eeepc-laptop.c:(.text+0xd5b48): undefined reference to `rfkill_allocate' eeepc-laptop.c:(.text+0xd5bd4): undefined reference to `rfkill_register' eeepc-laptop.c:(.text+0xd5ece): undefined reference to `rfkill_unregister' eeepc-laptop.c:(.text+0xd5ef6): undefined reference to `rfkill_unregister' make[1]: *** [.tmp_vmlinux1] Error 1 Signed-off-by: Randy Dunlap Cc: Corentin Chary Cc: Matthew Garrett Cc: Henrique de Moraes Holschuh Cc: Karol Kozimor Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig index a726f3b01a6..9e8a5e9d15c 100644 --- a/drivers/misc/Kconfig +++ b/drivers/misc/Kconfig @@ -409,6 +409,7 @@ config EEEPC_LAPTOP depends on BACKLIGHT_CLASS_DEVICE depends on HWMON depends on EXPERIMENTAL + depends on RFKILL ---help--- This driver supports the Fn-Fx keys on Eee PC laptops. It also adds the ability to switch camera/wlan on/off.