]> git.baikalelectronics.ru Git - kernel.git/commit
platform/x86: Consistently select LEDS Kconfig options
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 10 Jan 2011 14:37:02 +0000 (14:37 +0000)
committerMatthew Garrett <mjg@redhat.com>
Mon, 10 Jan 2011 16:55:25 +0000 (11:55 -0500)
commit16cab3dd3300c4149dd62d0c1d821ee07a7f7406
treed2e147da632df6a00c17d3403c05b9f33a7b954d
parent01b942d7660031c946e8b70ad730ac6e7d33753c
platform/x86: Consistently select LEDS Kconfig options

Currently the x86 platform devices are not consistent about selecting
or depending on the LEDs Kconfig variables, and this inconsistency
leads to Kconfig getting upset and refusing to offer LEDs (even on
non-x86 platforms):

drivers/platform/x86/Kconfig:422:error: recursive dependency detected!
drivers/platform/x86/Kconfig:422:       symbol EEEPC_WMI depends on ACPI_WMI
drivers/platform/x86/Kconfig:438:       symbol ACPI_WMI is selected by ACER_WMI
drivers/platform/x86/Kconfig:18:        symbol ACER_WMI depends on LEDS_CLASS
drivers/leds/Kconfig:10:        symbol LEDS_CLASS is selected by EEEPC_WMI

Fix this by always selecting rather than depending on the symbols as
slightly more drivers use this approach already and it seems more
user friendly.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
drivers/platform/x86/Kconfig