]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Kconfig: simple panel requires backlight
authorMarcin Juszkiewicz <marcin@juszkiewicz.com.pl>
Thu, 5 Nov 2020 16:30:26 +0000 (17:30 +0100)
committerTom Rini <trini@konsulko.com>
Sat, 16 Jan 2021 16:58:49 +0000 (11:58 -0500)
During build of simple panel driver backlight is needed so let's enable
it:

aarch64-linux-gnu-ld.bfd: drivers/built-in.o: in function `simple_panel_set_backlight':
u-boot/drivers/video/simple_panel.c:43: undefined reference to `backlight_set_brightness'
aarch64-linux-gnu-ld.bfd: drivers/built-in.o: in function `simple_panel_enable_backlight':
u-boot/drivers/video/simple_panel.c:28: undefined reference to `backlight_enable'

Signed-off-by: Marcin Juszkiewicz <marcin@juszkiewicz.com.pl>
drivers/video/Kconfig

index d39d9b22914782da290f11059fccf9684b8eab34..d782eb806a157ecee5c1325dae9208c01b6ac975 100644 (file)
@@ -199,7 +199,7 @@ config PANEL
 
 config SIMPLE_PANEL
        bool "Enable simple panel support"
-       depends on PANEL
+       depends on PANEL && BACKLIGHT
        default y
        help
          This turns on a simple panel driver that enables a compatible