mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Ahmad Fatoum <a.fatoum@barebox.org>
To: barebox@lists.infradead.org
Cc: Ahmad Fatoum <a.fatoum@barebox.org>
Subject: [PATCH] video: make video/mipi_dsi.h header self-contained
Date: Mon, 27 Oct 2025 20:25:58 +0100	[thread overview]
Message-ID: <20251027192559.2584642-1-a.fatoum@barebox.org> (raw)

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




             reply	other threads:[~2025-10-27 19:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-10-27 19:25 Ahmad Fatoum [this message]
2025-10-28  7:46 ` Sascha Hauer

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=20251027192559.2584642-1-a.fatoum@barebox.org \
    --to=a.fatoum@barebox.org \
    --cc=barebox@lists.infradead.org \
    /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