platform/x86: depends instead of select for laptop platform drivers
authorCorentin Chary <corentincj@iksaif.net>
Wed, 25 Feb 2009 08:37:09 +0000 (09:37 +0100)
committerLen Brown <len.brown@intel.com>
Mon, 16 Mar 2009 04:37:32 +0000 (00:37 -0400)
"I hate `select' and will gleefully leap on any s/select/depends/ patch,
whether it works or not :)"
  Andrew Morton

select INPUT is not needed here, because if someone doesn't want INPUT,
he won't want these drivers either.

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

index fede8f327bbdaccbafffd72419974b10eb3acdbf..f3ab40188e62f58541be31a5c12694134f2eadc5 100644 (file)
@@ -185,11 +185,11 @@ config SONYPI_COMPAT
 config THINKPAD_ACPI
        tristate "ThinkPad ACPI Laptop Extras"
        depends on ACPI
+       depends on INPUT
        select BACKLIGHT_LCD_SUPPORT
        select BACKLIGHT_CLASS_DEVICE
        select HWMON
        select NVRAM
-       select INPUT
        select NEW_LEDS
        select LEDS_CLASS
        select NET