* [PATCH] backlight: ktd2801: fix unmet dependency on GPIOLIB
@ 2026-07-19 2:49 Julian Braha
2026-07-19 3:31 ` Randy Dunlap
2026-07-20 14:54 ` Duje Mihanović
0 siblings, 2 replies; 3+ messages in thread
From: Julian Braha @ 2026-07-19 2:49 UTC (permalink / raw)
To: lee, danielt, jingoohan1, deller
Cc: rdunlap, duje, dri-devel, linux-fbdev, linux-kernel, arnd,
Julian Braha
LEDS_EXPRESSWIRE depends on GPIOLIB, so its selector, BACKLIGHT_KTD2801
also needs to ensure GPIOLIB is enabled. Otherwise:
WARNING: unmet direct dependencies detected for LEDS_EXPRESSWIRE
Depends on [n]: NEW_LEDS [=n] && GPIOLIB [=n]
Selected by [y]:
- BACKLIGHT_KTD2801 [=y] && HAS_IOMEM [=y] && BACKLIGHT_CLASS_DEVICE [=y]
This unmet dependency was found by kconfirm, a static analysis tool for
Kconfig.
Fixes: d95963e309bc ("backlight: ktd2801: Depend on GPIOLIB")
Signed-off-by: Julian Braha <julianbraha@gmail.com>
---
drivers/video/backlight/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/video/backlight/Kconfig b/drivers/video/backlight/Kconfig
index 7c66b8840d88..dbf4ca23a9b6 100644
--- a/drivers/video/backlight/Kconfig
+++ b/drivers/video/backlight/Kconfig
@@ -193,7 +193,7 @@ config BACKLIGHT_KTD253
config BACKLIGHT_KTD2801
tristate "Backlight Driver for Kinetic KTD2801"
- depends on GPIOLIB || COMPILE_TEST
+ depends on GPIOLIB
select LEDS_EXPRESSWIRE
help
Say Y to enable the backlight driver for the Kinetic KTD2801 1-wire
--
2.54.0
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH] backlight: ktd2801: fix unmet dependency on GPIOLIB
2026-07-19 2:49 [PATCH] backlight: ktd2801: fix unmet dependency on GPIOLIB Julian Braha
@ 2026-07-19 3:31 ` Randy Dunlap
2026-07-20 14:54 ` Duje Mihanović
1 sibling, 0 replies; 3+ messages in thread
From: Randy Dunlap @ 2026-07-19 3:31 UTC (permalink / raw)
To: Julian Braha, lee, danielt, jingoohan1, deller
Cc: duje, dri-devel, linux-fbdev, linux-kernel, arnd
Hi,
On 7/18/26 7:49 PM, Julian Braha wrote:
> LEDS_EXPRESSWIRE depends on GPIOLIB, so its selector, BACKLIGHT_KTD2801
> also needs to ensure GPIOLIB is enabled. Otherwise:
>
> WARNING: unmet direct dependencies detected for LEDS_EXPRESSWIRE
> Depends on [n]: NEW_LEDS [=n] && GPIOLIB [=n]
> Selected by [y]:
> - BACKLIGHT_KTD2801 [=y] && HAS_IOMEM [=y] && BACKLIGHT_CLASS_DEVICE [=y]
>
> This unmet dependency was found by kconfirm, a static analysis tool for
> Kconfig.
or it can be hand-crafted and the warning seen by 'make oldconfig' etc.
> Fixes: d95963e309bc ("backlight: ktd2801: Depend on GPIOLIB")
> Signed-off-by: Julian Braha <julianbraha@gmail.com>
> ---
> drivers/video/backlight/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/video/backlight/Kconfig b/drivers/video/backlight/Kconfig
> index 7c66b8840d88..dbf4ca23a9b6 100644
> --- a/drivers/video/backlight/Kconfig
> +++ b/drivers/video/backlight/Kconfig
> @@ -193,7 +193,7 @@ config BACKLIGHT_KTD253
>
> config BACKLIGHT_KTD2801
> tristate "Backlight Driver for Kinetic KTD2801"
> - depends on GPIOLIB || COMPILE_TEST
> + depends on GPIOLIB
> select LEDS_EXPRESSWIRE
> help
> Say Y to enable the backlight driver for the Kinetic KTD2801 1-wire
Well, ktd2801.ko is being built for me with no warnings and I have:
COMPILE_TEST=y
GPIOLIB=n
BACKLIGHT_KTD2801=m
but we do want to eliminate the warning, so:
Tested-by: Randy Dunlap <rdunlap@infradead.org>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
thanks.
--
~Randy
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH] backlight: ktd2801: fix unmet dependency on GPIOLIB
2026-07-19 2:49 [PATCH] backlight: ktd2801: fix unmet dependency on GPIOLIB Julian Braha
2026-07-19 3:31 ` Randy Dunlap
@ 2026-07-20 14:54 ` Duje Mihanović
1 sibling, 0 replies; 3+ messages in thread
From: Duje Mihanović @ 2026-07-20 14:54 UTC (permalink / raw)
To: lee, danielt, jingoohan1, deller, Julian Braha
Cc: rdunlap, dri-devel, linux-fbdev, linux-kernel, arnd, Julian Braha
On Sunday, 19 July 2026 04:49:02 Central European Summer Time Julian Braha
wrote:
> LEDS_EXPRESSWIRE depends on GPIOLIB, so its selector, BACKLIGHT_KTD2801
> also needs to ensure GPIOLIB is enabled. Otherwise:
>
> WARNING: unmet direct dependencies detected for LEDS_EXPRESSWIRE
> Depends on [n]: NEW_LEDS [=n] && GPIOLIB [=n]
> Selected by [y]:
> - BACKLIGHT_KTD2801 [=y] && HAS_IOMEM [=y] && BACKLIGHT_CLASS_DEVICE [=y]
>
> This unmet dependency was found by kconfirm, a static analysis tool for
> Kconfig.
>
> Fixes: d95963e309bc ("backlight: ktd2801: Depend on GPIOLIB")
> Signed-off-by: Julian Braha <julianbraha@gmail.com>
Acked-by: Duje Mihanović <duje@dujemihanovic.xyz>
Regards,
--
Duje
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-07-20 14:54 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-19 2:49 [PATCH] backlight: ktd2801: fix unmet dependency on GPIOLIB Julian Braha
2026-07-19 3:31 ` Randy Dunlap
2026-07-20 14:54 ` Duje Mihanović
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox