ideapad-laptop: Depend on BACKLIGHT_CLASS_DEVICE instead of selecting it

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>
This commit is contained in:
Matthew Garrett 2013-02-25 16:59:57 -05:00
parent 16fd91e062
commit 445e8d007c

View file

@ -299,8 +299,8 @@ config IDEAPAD_LAPTOP
depends on ACPI depends on ACPI
depends on RFKILL && INPUT depends on RFKILL && INPUT
depends on SERIO_I8042 depends on SERIO_I8042
depends on BACKLIGHT_CLASS_DEVICE
select INPUT_SPARSEKMAP select INPUT_SPARSEKMAP
select BACKLIGHT_CLASS_DEVICE
help help
This is a driver for Lenovo IdeaPad netbooks contains drivers for This is a driver for Lenovo IdeaPad netbooks contains drivers for
rfkill switch, hotkey, fan control and backlight control. rfkill switch, hotkey, fan control and backlight control.