Kaynağa Gözat

eeepc-laptop: use select and not depends on

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>
Corentin Chary 16 yıl önce
ebeveyn
işleme
d944718336
1 değiştirilmiş dosya ile 3 ekleme ve 3 silme
  1. 3 3
      drivers/misc/Kconfig

+ 3 - 3
drivers/misc/Kconfig

@@ -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.