Skip to content

Commit b30cb96

Browse files
arndbpcercuei
authored andcommitted
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: c2268da ("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
1 parent 9c053ef commit b30cb96

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/gpu/drm/panel/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -300,6 +300,7 @@ config DRM_PANEL_LEADTEK_LTK500HD1829
300300
config DRM_PANEL_SAMSUNG_LD9040
301301
tristate "Samsung LD9040 RGB/SPI panel"
302302
depends on OF && SPI
303+
depends on BACKLIGHT_CLASS_DEVICE
303304
select VIDEOMODE_HELPERS
304305

305306
config DRM_PANEL_LG_LB035Q02

0 commit comments

Comments
 (0)