From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: barebox@lists.infradead.org
Cc: Ahmad Fatoum <a.fatoum@pengutronix.de>
Subject: [PATCH 2/2] fixup! video: add dw-hdmi driver
Date: Mon, 14 Oct 2024 12:46:44 +0200 [thread overview]
Message-ID: <20241014104644.2610132-2-a.fatoum@pengutronix.de> (raw)
In-Reply-To: <20241014104644.2610132-1-a.fatoum@pengutronix.de>
video: dw-hdmi: fix compile testing with CONFIG_SANDBOX
Building under sandbox results in an error message due to missing
definition of ARRAY_SIZE. Fix this by including the relevant header.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
drivers/video/dw-hdmi.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/video/dw-hdmi.c b/drivers/video/dw-hdmi.c
index ac4f368f6369..73201836b7e5 100644
--- a/drivers/video/dw-hdmi.c
+++ b/drivers/video/dw-hdmi.c
@@ -7,6 +7,7 @@
* Copyright (C) 2010, Guennadi Liakhovetski <g.liakhovetski@gmx.de>
*/
#include <linux/clk.h>
+#include <linux/kernel.h>
#include <linux/err.h>
#include <linux/hdmi.h>
#include <i2c/i2c.h>
--
2.39.5
next prev parent reply other threads:[~2024-10-14 10:54 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-14 10:46 [PATCH 1/2] " Ahmad Fatoum
2024-10-14 10:46 ` Ahmad Fatoum [this message]
2024-10-14 11:12 ` 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=20241014104644.2610132-2-a.fatoum@pengutronix.de \
--to=a.fatoum@pengutronix.de \
--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