* [PATCH] Kconfig: simple panel requires backlight
@ 2020-11-05 16:30 Marcin Juszkiewicz
2021-01-18 12:59 ` Tom Rini
0 siblings, 1 reply; 2+ messages in thread
From: Marcin Juszkiewicz @ 2020-11-05 16:30 UTC (permalink / raw)
To: u-boot
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 | 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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH] Kconfig: simple panel requires backlight
2020-11-05 16:30 [PATCH] Kconfig: simple panel requires backlight Marcin Juszkiewicz
@ 2021-01-18 12:59 ` Tom Rini
0 siblings, 0 replies; 2+ messages in thread
From: Tom Rini @ 2021-01-18 12:59 UTC (permalink / raw)
To: u-boot
On Thu, Nov 05, 2020 at 05:30:26PM +0100, Marcin Juszkiewicz wrote:
> 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>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210118/5f8820d1/attachment.sig>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-01-18 12:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-11-05 16:30 [PATCH] Kconfig: simple panel requires backlight Marcin Juszkiewicz
2021-01-18 12:59 ` Tom Rini
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.