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 <[email protected]> Reviewed-by: Sam Ravnborg <[email protected]> Signed-off-by: Paul Cercueil <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent 9c053ef commit b30cb96

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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)