From: Tom Rini <trini@konsulko.com>
To: u-boot@lists.denx.de
Cc: Anatolij Gustschin <ag.dev.uboot@gmail.com>
Subject: [PATCHv2 4/7] video: anx9804: Only build when needed
Date: Wed, 12 Nov 2025 14:00:05 -0600 [thread overview]
Message-ID: <20251112200315.1111980-5-trini@konsulko.com> (raw)
In-Reply-To: <20251112200315.1111980-1-trini@konsulko.com>
The logic for how to handle this video driver is slightly odd. Only in
the case of when CONFIG_VIDEO_LCD_PANEL_EDP_4_LANE_1620M_VIA_ANX9804 is
enabled do we need to have this file built, and otherwise we have a
dummy function in use. Correct the logic by only building this file when
needed.
Signed-off-by: Tom Rini <trini@konsulko.com>
---
drivers/video/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/video/Makefile b/drivers/video/Makefile
index 4189b81ba6b3..984768ea156d 100644
--- a/drivers/video/Makefile
+++ b/drivers/video/Makefile
@@ -56,7 +56,7 @@ obj-$(CONFIG_VIDEO_DW_MIPI_DSI) += dw_mipi_dsi.o
obj-$(CONFIG_VIDEO_EFI) += efi.o
obj-y += imx/
obj-$(CONFIG_VIDEO_IVYBRIDGE_IGD) += ivybridge_igd.o
-obj-$(CONFIG_VIDEO_LCD_ANX9804) += anx9804.o
+obj-$(CONFIG_VIDEO_LCD_PANEL_EDP_4_LANE_1620M_VIA_ANX9804) += anx9804.o
obj-$(CONFIG_VIDEO_LCD_ENDEAVORU) += endeavoru-panel.o
obj-$(CONFIG_VIDEO_LCD_HIMAX_HX8394) += himax-hx8394.o
obj-$(CONFIG_VIDEO_LCD_HITACHI_TX10D07VM0BAA) += hitachi-tx10d07vm0baa.o
--
2.43.0
next prev parent reply other threads:[~2025-11-12 20:04 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-12 20:00 [PATCHv2 0/7] video: Remove unused drivers, clean up dependencies Tom Rini
2025-11-12 20:00 ` [PATCHv2 1/7] video: mali_dp: Remove unused driver Tom Rini
2025-11-12 20:00 ` [PATCHv2 2/7] video: tegra: Rework some of the driver dependencies Tom Rini
2025-11-12 20:00 ` [PATCHv2 3/7] video: Tighten some video " Tom Rini
2025-11-12 20:00 ` Tom Rini [this message]
2025-11-12 20:00 ` [PATCHv2 5/7] video: ihs_video_out: Add missing <asm/io.h> to ihs_video_out.c Tom Rini
2025-11-12 20:00 ` [PATCHv2 6/7] video: sharp-lq101r1sx01: Do not make use of 'z' for printing non-size_t Tom Rini
2025-11-12 20:00 ` [PATCHv2 7/7] video: stm32: stm32_ltdc: Add missing <linux/sizes.h> to stm32_ltdc.c Tom Rini
2025-12-30 23:19 ` [PATCHv2 0/7] video: Remove unused drivers, clean up dependencies Tom Rini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20251112200315.1111980-5-trini@konsulko.com \
--to=trini@konsulko.com \
--cc=ag.dev.uboot@gmail.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox