summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <marcin@juszkiewicz.com.pl>2020-11-05 17:30:26 +0100
committerTom Rini <trini@konsulko.com>2021-01-16 11:58:49 -0500
commit9a3122f769d2e0bd0bc213b98bc251f92e3ff979 (patch)
treed54efc70ba22b31bd162365498d302e0ad1a401d /drivers
parent622178d923d5e5767d33df242a09bc7dae500976 (diff)
downloadu-boot-9a3122f769d2e0bd0bc213b98bc251f92e3ff979.tar.gz
u-boot-9a3122f769d2e0bd0bc213b98bc251f92e3ff979.tar.xz
u-boot-9a3122f769d2e0bd0bc213b98bc251f92e3ff979.zip
Kconfig: simple panel requires backlight
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/video/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig
index d39d9b2291..d782eb806a 100644
--- a/drivers/video/Kconfig
+++ b/drivers/video/Kconfig
@@ -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