eeepc-laptop: use select and not depends on
authorCorentin Chary <corentincj@iksaif.net>
Tue, 23 Dec 2008 20:08:29 +0000 (21:08 +0100)
committerLen Brown <len.brown@intel.com>
Tue, 23 Dec 2008 21:15:11 +0000 (16:15 -0500)
As len said:
"Kconfig should offer users features, and not make users
devine their dependencies.

Signed-off-by: Corentin Chary <corentincj@iksaif.net>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/misc/Kconfig

index fee7304..d9aac2e 100644 (file)
@@ -428,10 +428,10 @@ config EEEPC_LAPTOP
        tristate "Eee PC Hotkey Driver (EXPERIMENTAL)"
        depends on X86
        depends on ACPI
-       depends on BACKLIGHT_CLASS_DEVICE
-       depends on HWMON
        depends on EXPERIMENTAL
-       depends on RFKILL
+       select BACKLIGHT_CLASS_DEVICE
+       select HWMON
+       select RFKILL
        ---help---
          This driver supports the Fn-Fx keys on Eee PC laptops.
          It also adds the ability to switch camera/wlan on/off.