mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] video: make video/mipi_dsi.h header self-contained
@ 2025-10-27 19:25 Ahmad Fatoum
  2025-10-28  7:46 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Ahmad Fatoum @ 2025-10-27 19:25 UTC (permalink / raw)
  To: barebox; +Cc: Ahmad Fatoum

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@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




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-10-28  7:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-10-27 19:25 [PATCH] video: make video/mipi_dsi.h header self-contained Ahmad Fatoum
2025-10-28  7:46 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox