summaryrefslogtreecommitdiffstats
path: root/drivers/platform/x86
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2010-03-02 09:53:45 -0500
committerMatthew Garrett <mjg@redhat.com>2010-03-02 09:53:45 -0500
commit51c1410bd651609aafbcc3a2294df26a47bf6137 (patch)
tree926ab8a5e1f3e2f0cf571e8ebfb8e545a043b547 /drivers/platform/x86
parenta58db59a263d4232710af816f3857254b5823633 (diff)
downloadtalos-op-linux-51c1410bd651609aafbcc3a2294df26a47bf6137.tar.gz
talos-op-linux-51c1410bd651609aafbcc3a2294df26a47bf6137.zip
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 <mingo@elte.hu>
Diffstat (limited to 'drivers/platform/x86')
-rw-r--r--drivers/platform/x86/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/platform/x86/Kconfig b/drivers/platform/x86/Kconfig
index 92161c7ff4b7..cd2ee6fce1b4 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:
OpenPOWER on IntegriCloud