From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcin Juszkiewicz Date: Thu, 5 Nov 2020 17:30:26 +0100 Subject: [PATCH] Kconfig: simple panel requires backlight Message-ID: <20201105163026.831527-1-marcin@juszkiewicz.com.pl> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 --- drivers/video/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git drivers/video/Kconfig drivers/video/Kconfig index 998271b9b6..0dd78472d5 100644 --- drivers/video/Kconfig +++ 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 -- 2.28.0