[PATCH] video: make video/mipi_dsi.h header self-contained

Ahmad Fatoum a.fatoum at barebox.org
Mon Oct 27 12:25:58 PDT 2025


When we start compiling the MIPI-DSI code for sandbox allyesconfig, we
will stumble upon ARRAY_SIZE not being defined, so anticipate this by
including the relevant header.

Signed-off-by: Ahmad Fatoum <a.fatoum at barebox.org>
---
 include/video/mipi_dsi.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/video/mipi_dsi.h b/include/video/mipi_dsi.h
index db9fbfd8d6da..0278f2d93b0d 100644
--- a/include/video/mipi_dsi.h
+++ b/include/video/mipi_dsi.h
@@ -17,6 +17,7 @@
 
 #include <video/mipi_display.h>
 #include <linux/container_of.h>
+#include <linux/array_size.h>
 #include <linux/bitops.h>
 #include <linux/device.h>
 #include <linux/errno.h>
-- 
2.47.3




More information about the barebox mailing list