summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Garrett <matthew.garrett@nebula.com>2013-02-26 01:59:57 +0400
committerMatthew Garrett <matthew.garrett@nebula.com>2013-02-27 17:30:47 +0400
commit445e8d007c29d7f4d497c7912236b69f608340c6 (patch)
tree575ce05562b313d700b9eb79b3425e39cecc0539
parent16fd91e06291c964111587db15646308110c5634 (diff)
downloadlinux-445e8d007c29d7f4d497c7912236b69f608340c6.tar.xz
ideapad-laptop: Depend on BACKLIGHT_CLASS_DEVICE instead of selecting it
Selecting BACKLIGHT_CLASS_DEVICE doesn't guarantee that any of its dependencies are enabled, and these are complicated. Depending isn't ideal for configuration UI purposes, but is probably more appropriate here. Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>
-rw-r--r--drivers/platform/x86/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/platform/x86/Kconfig b/drivers/platform/x86/Kconfig
index 242c5248fdea..3338437b559b 100644
--- a/drivers/platform/x86/Kconfig
+++ b/drivers/platform/x86/Kconfig
@@ -299,8 +299,8 @@ config IDEAPAD_LAPTOP
depends on ACPI
depends on RFKILL && INPUT
depends on SERIO_I8042
+ depends on BACKLIGHT_CLASS_DEVICE
select INPUT_SPARSEKMAP
- select BACKLIGHT_CLASS_DEVICE
help
This is a driver for Lenovo IdeaPad netbooks contains drivers for
rfkill switch, hotkey, fan control and backlight control.