ideapad-laptop: Depend on BACKLIGHT_CLASS_DEVICE instead of selecting it
authorMatthew Garrett <matthew.garrett@nebula.com>
Mon, 25 Feb 2013 21:59:57 +0000 (16:59 -0500)
committerMatthew Garrett <matthew.garrett@nebula.com>
Wed, 27 Feb 2013 13:30:47 +0000 (08:30 -0500)
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>
drivers/platform/x86/Kconfig

index 242c5248fdeaa3011f577972490ba560553cf9e3..3338437b559b7e696e305b08e54ab1d874e67b4d 100644 (file)
@@ -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.