]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
video: anx9804: Only build when needed
authorTom Rini <trini@konsulko.com>
Wed, 12 Nov 2025 20:00:05 +0000 (14:00 -0600)
committerTom Rini <trini@konsulko.com>
Tue, 30 Dec 2025 16:21:48 +0000 (10:21 -0600)
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

index 4189b81ba6b330fa1af81c3d1d8eb5991f5a6127..984768ea156d23f5c1f778a0a65229f80432146b 100644 (file)
@@ -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