drm: panel: visionox: add backlight dependency
authorArnd Bergmann <arnd@arndb.de>
Tue, 17 Jan 2023 16:54:50 +0000 (17:54 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 17 Jan 2023 18:21:03 +0000 (19:21 +0100)
The newly added driver uses the backlight subsystem but is missing the
corresponding Kconfig dependency:

arm-linux-gnueabi-ld: drivers/gpu/drm/panel/panel-visionox-vtdr6130.o: in function `visionox_vtdr6130_probe':
panel-visionox-vtdr6130.c:(.text+0xdee): undefined reference to `devm_backlight_device_register'

Fixes: 65dc9360f741 ("drm: panel: Add Himax HX8394 panel controller driver")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20230117165522.2104380-1-arnd@kernel.org
drivers/gpu/drm/panel/Kconfig

index dd79928..8f2046c 100644 (file)
@@ -742,6 +742,7 @@ config DRM_PANEL_VISIONOX_VTDR6130
        tristate "Visionox VTDR6130"
        depends on OF
        depends on DRM_MIPI_DSI
+       depends on BACKLIGHT_CLASS_DEVICE
        help
          Say Y here if you want to enable support for Visionox
          VTDR6130 1080x2400 AMOLED DSI panel.