Add patches accepted for 2.6.29-rc8
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / releases / upstream / 2.6.29-rc8 / 0001-platform-x86-depends-instead-of-select-for-laptop-p.patch
blob3c2ebf639fb589a452389785e80549883049972e
1 From d263da311ab403e3a84fa24920edc826147a550c Mon Sep 17 00:00:00 2001
2 From: Corentin Chary <corentincj@iksaif.net>
3 Date: Wed, 25 Feb 2009 09:37:09 +0100
4 Subject: platform/x86: depends instead of select for laptop platform drivers
6 "I hate `select' and will gleefully leap on any s/select/depends/ patch,
7 whether it works or not :)"
8 Andrew Morton
10 select INPUT is not needed here, because if someone doesn't want INPUT,
11 he won't want these drivers either.
13 Signed-off-by: Corentin Chary <corentincj@iksaif.net>
14 Signed-off-by: Len Brown <len.brown@intel.com>
15 ---
16 drivers/platform/x86/Kconfig | 2 +-
17 1 files changed, 1 insertions(+), 1 deletions(-)
19 diff --git a/drivers/platform/x86/Kconfig b/drivers/platform/x86/Kconfig
20 index fede8f3..f3ab401 100644
21 --- a/drivers/platform/x86/Kconfig
22 +++ b/drivers/platform/x86/Kconfig
23 @@ -185,11 +185,11 @@ config SONYPI_COMPAT
24 config THINKPAD_ACPI
25 tristate "ThinkPad ACPI Laptop Extras"
26 depends on ACPI
27 + depends on INPUT
28 select BACKLIGHT_LCD_SUPPORT
29 select BACKLIGHT_CLASS_DEVICE
30 select HWMON
31 select NVRAM
32 - select INPUT
33 select NEW_LEDS
34 select LEDS_CLASS
35 select NET
36 --
37 1.6.2