drm/panel: ld9040: add backlight Kconfig dependency
authorArnd Bergmann <arnd@arndb.de>
Mon, 24 Jul 2023 12:17:05 +0000 (14:17 +0200)
committerPaul Cercueil <paul@crapouillou.net>
Mon, 24 Jul 2023 20:00:39 +0000 (22:00 +0200)
commitb30cb96623e9ffb949627a33f33b4668b0d8af5c
tree8da8b9794782531d0c1f5592eb295aa591192320
parent9c053ef5c8d4c0675756c3fca059f338fdf1d37b
drm/panel: ld9040: add backlight Kconfig dependency

The driver now uses the backlight interface, which breaks when that
is disabled:

ld.lld: error: undefined symbol: devm_backlight_device_register

Enforce the necessary Kconfig dependency to avoid this.

Fixes: c2268daa65fb ("drm/panel: ld9040: Register a backlight device")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Link: https://patchwork.freedesktop.org/patch/msgid/20230724121736.1293270-1-arnd@kernel.org
drivers/gpu/drm/panel/Kconfig