From: Sascha Hauer <s.hauer@pengutronix.de>
To: Barebox List <barebox@lists.infradead.org>
Subject: [PATCH] mailbox: make mailbox.h self contained
Date: Thu, 7 Nov 2024 08:31:14 +0100 [thread overview]
Message-ID: <20241107073114.1866198-1-s.hauer@pengutronix.de> (raw)
mailbox.h needs linux/list.h, so include it to make the file self
contained. Also declare of_phandle_args.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
include/mailbox.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/include/mailbox.h b/include/mailbox.h
index 3be58ec103..9583611da2 100644
--- a/include/mailbox.h
+++ b/include/mailbox.h
@@ -1,6 +1,10 @@
#ifndef __MAILBOX_H
#define __MAILBOX_H
+#include <linux/list.h>
+
+struct of_phandle_args;
+
struct mbox_chan {
struct mbox_controller *mbox;
struct device *dev;
--
2.39.5
next reply other threads:[~2024-11-07 7:34 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-07 7:31 Sascha Hauer [this message]
2024-11-08 9:52 ` 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=20241107073114.1866198-1-s.hauer@pengutronix.de \
--to=s.hauer@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