From: Barnabás Pőcze Date: Thu, 4 Feb 2021 14:20:15 +0000 (+0000) Subject: platform/x86: Kconfig: add missing selects for ideapad-laptop X-Git-Tag: v5.12-rc1~123^2~6 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d8f5c5ea6637270a640c70cd472ee945a60b4106;p=thirdparty%2Fkernel%2Flinux.git platform/x86: Kconfig: add missing selects for ideapad-laptop 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 Link: https://lore.kernel.org/r/20210204142010.356675-1-pobrn@protonmail.com Signed-off-by: Hans de Goede --- diff --git a/drivers/platform/x86/Kconfig b/drivers/platform/x86/Kconfig index 17328d1a5d72f..56353e8c792a2 100644 --- a/drivers/platform/x86/Kconfig +++ b/drivers/platform/x86/Kconfig @@ -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.