From: "Ulrich Ölmann" <u.oelmann@pengutronix.de>
To: Barebox List <barebox@lists.infradead.org>
Subject: [PATCH] include: ocotp.h: add missing include
Date: Fri, 25 Sep 2026 10:13:37 +0200 [thread overview]
Message-ID: <20260925081337.880619-1-u.oelmann@pengutronix.de> (raw)
Otherwise GCC complains:
<PATH>/barebox-2026.09.0/include/mach/imx/ocotp.h:23:33: error: implicit declaration of function 'GENMASK' [-Werror=implicit-function-declaration]
23 | #define OCOTP_WORD_MASK GENMASK( 7, 0)
| ^~~~~~~
Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
---
include/mach/imx/ocotp.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/mach/imx/ocotp.h b/include/mach/imx/ocotp.h
index 2d8fcc7c2657..a3eee070546b 100644
--- a/include/mach/imx/ocotp.h
+++ b/include/mach/imx/ocotp.h
@@ -6,6 +6,7 @@
#include <linux/bitfield.h>
#include <linux/types.h>
#include <linux/io.h>
+#include <linux/bits.h>
#define OCOTP_SHADOW_OFFSET 0x400
#define OCOTP_SHADOW_SPACING 0x10
--
2.47.3
next reply other threads:[~2026-09-25 8:15 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-25 8:13 Ulrich Ölmann [this message]
2026-09-25 9:08 ` Sascha Hauer
-- strict thread matches above, loose matches on Subject: below --
2026-09-18 9:39 Ulrich Ölmann
2026-09-23 6:27 ` 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=20260925081337.880619-1-u.oelmann@pengutronix.de \
--to=u.oelmann@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