[PATCH] backlight: ktd2801: depend on GPIOLIB
Linus Walleij
linus.walleij at linaro.org
Thu Feb 15 13:31:37 UTC 2024
On Tue, Feb 13, 2024 at 7:13 PM Duje Mihanović <duje.mihanovic at skole.hr> wrote:
> LEDS_EXPRESSWIRE depends on GPIOLIB, and so must anything selecting it:
>
> WARNING: unmet direct dependencies detected for LEDS_EXPRESSWIRE
> Depends on [n]: NEW_LEDS [=y] && GPIOLIB [=n]
> Selected by [m]:
> - BACKLIGHT_KTD2801 [=m] && HAS_IOMEM [=y] && BACKLIGHT_CLASS_DEVICE [=m]
>
> Fixes: 66c76c1cd984 ("backlight: Add Kinetic KTD2801 backlight support")
> Signed-off-by: Duje Mihanović <duje.mihanovic at skole.hr>
Acked-by: Linus Walleij <linus.walleij at linaro.org>
Technically you can also select GPIOLIB, because it is available on
all platforms, so it may be easier for users, but then you never know
which GPIOs you get in practice.
Yours,
Linus Walleij
More information about the dri-devel
mailing list