Skip to contentSkip to conversation

platform/x86: Kconfig: add missing selects for ideapad-laptop

PATCH In review Barnabás Pőcze 2 participants 2 messages Feb 4, 2021 x86 platform drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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")
drivers/platform/x86/Kconfig +2 -0
index cf76e724e8c3..89cc2936f2ef 100644
@@ -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.
Signature · 1 line
2.30.0
#1 lore raw

Hi,

Quoted 5 lines · Barnabás Pőcze

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")

Thank you for your patch, I've applied this patch to my review-hans branch:
https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git/log/?h=review-hans

Note it will show up in my review-hans branch once I've pushed my local branch there, which might take a while.

Once I've run some tests on this branch the patches there will be added to the platform-drivers-x86/for-next branch and eventually will be included in the pdx86 pull-request to Linus for the next merge-window.

Regards,

Hans

Quoted 15 lines
drivers/platform/x86/Kconfig +2 -0
index cf76e724e8c3..89cc2936f2ef 100644
@@ -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.