diff mbox series

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

Message ID 20210204142010.356675-1-pobrn@protonmail.com (mailing list archive)
State Accepted, archived
Headers show
Series platform/x86: Kconfig: add missing selects for ideapad-laptop | expand

Commit Message

Barnabás Pőcze Feb. 4, 2021, 2:20 p.m. UTC
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>

Comments

Hans de Goede Feb. 4, 2021, 4:23 p.m. UTC | #1
Hi,

On 2/4/21 3:20 PM, Barnabás Pőcze wrote:
> 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>

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


> 
> diff --git a/drivers/platform/x86/Kconfig b/drivers/platform/x86/Kconfig
> index cf76e724e8c3..89cc2936f2ef 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.
>
diff mbox series

Patch

diff --git a/drivers/platform/x86/Kconfig b/drivers/platform/x86/Kconfig
index cf76e724e8c3..89cc2936f2ef 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.