platform/x86: Kconfig: add missing selects for ideapad-laptop
authorBarnabás Pőcze <pobrn@protonmail.com>
Thu, 4 Feb 2021 14:20:15 +0000 (14:20 +0000)
committerHans de Goede <hdegoede@redhat.com>
Thu, 4 Feb 2021 16:24:51 +0000 (17:24 +0100)
LED class support is needed by the ideapad-laptop module to compile after
the referenced commit. Add missing NEW_LEDS and LEDS_CLASS to Kconfig.

Fixes: 503325f84bc0 ("platform/x86: ideapad-laptop: add keyboard backlight control support")
Signed-off-by: Barnabás Pőcze <pobrn@protonmail.com>
Link: https://lore.kernel.org/r/20210204142010.356675-1-pobrn@protonmail.com
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/Kconfig

index 17328d1..56353e8 100644 (file)
@@ -452,6 +452,8 @@ config IDEAPAD_LAPTOP
        depends on ACPI_WMI || ACPI_WMI = n
        depends on ACPI_PLATFORM_PROFILE
        select INPUT_SPARSEKMAP
+       select NEW_LEDS
+       select LEDS_CLASS
        help
          This is a driver for Lenovo IdeaPad netbooks contains drivers for
          rfkill switch, hotkey, fan control and backlight control.