2023-06-09 10:43:31

by Lukas Bulwahn

[permalink] [raw]
Subject: [PATCH] leds: fix config reference for AW200xx driver

Commit 36a87f371b7a ("leds: Add AW20xx driver") adds config LEDS_AW200XX
in drivers/leds/Kconfig, but then in drivers/leds/Makefile accidently
refers to CONFIG_LEDS_W200XX; note the missing A!

This typo makes it impossible to add the driver to a kernel build.

Fix this wrong config reference.

Fixes: 36a87f371b7a ("leds: Add AW20xx driver")
Signed-off-by: Lukas Bulwahn <[email protected]>
---
drivers/leds/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/leds/Makefile b/drivers/leds/Makefile
index df6bf408212c..d71f1226540c 100644
--- a/drivers/leds/Makefile
+++ b/drivers/leds/Makefile
@@ -14,7 +14,7 @@ obj-$(CONFIG_LEDS_ADP5520) += leds-adp5520.o
obj-$(CONFIG_LEDS_AN30259A) += leds-an30259a.o
obj-$(CONFIG_LEDS_APU) += leds-apu.o
obj-$(CONFIG_LEDS_ARIEL) += leds-ariel.o
-obj-$(CONFIG_LEDS_W200XX) += leds-aw200xx.o
+obj-$(CONFIG_LEDS_AW200XX) += leds-aw200xx.o
obj-$(CONFIG_LEDS_AW2013) += leds-aw2013.o
obj-$(CONFIG_LEDS_BCM6328) += leds-bcm6328.o
obj-$(CONFIG_LEDS_BCM6358) += leds-bcm6358.o
--
2.17.1



2023-06-15 14:34:45

by Lee Jones

[permalink] [raw]
Subject: Re: [PATCH] leds: fix config reference for AW200xx driver

On Fri, 09 Jun 2023, Lukas Bulwahn wrote:

> Commit 36a87f371b7a ("leds: Add AW20xx driver") adds config LEDS_AW200XX
> in drivers/leds/Kconfig, but then in drivers/leds/Makefile accidently
> refers to CONFIG_LEDS_W200XX; note the missing A!
>
> This typo makes it impossible to add the driver to a kernel build.
>
> Fix this wrong config reference.
>
> Fixes: 36a87f371b7a ("leds: Add AW20xx driver")
> Signed-off-by: Lukas Bulwahn <[email protected]>
> ---
> drivers/leds/Makefile | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks

--
Lee Jones [李琼斯]