forked from luck/tmp_suning_uos_patched
platform/x86: have ACPI_CMPC use depends instead of select for INPUT
Drivers should not 'select' a subsystem. Instead they should depend on it. If the subsystem is disabled, the user probably did that for a purpose and one driver shouldn't be changing that. This also makes all platform/x86/ drivers consistent w.r.t depending on INPUT instead of selecting it. Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Cc: Andy Shevchenko <andy@infradead.org> Cc: platform-driver-x86@vger.kernel.org Signed-off-by: Darren Hart (VMware) <dvhart@infradead.org>
This commit is contained in:
parent
28d71ae921
commit
4f258cf401
|
@ -838,9 +838,8 @@ config TOSHIBA_WMI
|
|||
|
||||
config ACPI_CMPC
|
||||
tristate "CMPC Laptop Extras"
|
||||
depends on ACPI
|
||||
depends on ACPI && INPUT
|
||||
depends on RFKILL || RFKILL=n
|
||||
select INPUT
|
||||
select BACKLIGHT_CLASS_DEVICE
|
||||
help
|
||||
Support for Intel Classmate PC ACPI devices, including some
|
||||
|
|
Loading…
Reference in New Issue
Block a user