From: Ingo Molnar Date: Tue, 2 Mar 2010 14:53:45 +0000 (-0500) Subject: compal-laptop: Make it depend on CONFIG_RFKILL X-Git-Tag: v2.6.34-rc1~221^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=51c1410bd651609aafbcc3a2294df26a47bf6137;p=thirdparty%2Fkernel%2Flinux.git compal-laptop: Make it depend on CONFIG_RFKILL -tip testing found this build failure (x86 randconfig): drivers/built-in.o: In function `setup_rfkill': compal-laptop.c:(.text+0x36abe8): undefined reference to `rfkill_alloc' compal-laptop.c:(.text+0x36abfc): undefined reference to `rfkill_register' compal-laptop.c:(.text+0x36ac30): undefined reference to `rfkill_alloc' compal-laptop.c:(.text+0x36ac44): undefined reference to `rfkill_register' Which can happen with CONFIG_COMPAL_LAPTOP=y but COMPAL_LAPTOP=m. Signed-off-by: Ingo Molnar --- diff --git a/drivers/platform/x86/Kconfig b/drivers/platform/x86/Kconfig index 92161c7ff4b7b..cd2ee6fce1b40 100644 --- a/drivers/platform/x86/Kconfig +++ b/drivers/platform/x86/Kconfig @@ -179,6 +179,7 @@ config COMPAL_LAPTOP tristate "Compal Laptop Extras" depends on ACPI depends on BACKLIGHT_CLASS_DEVICE + depends on RFKILL ---help--- This is a driver for laptops built by Compal: