mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] mailbox: make mailbox.h self contained
@ 2024-11-07  7:31 Sascha Hauer
  2024-11-08  9:52 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Sascha Hauer @ 2024-11-07  7:31 UTC (permalink / raw)
  To: Barebox List

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




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

end of thread, other threads:[~2024-11-08  9:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-11-07  7:31 [PATCH] mailbox: make mailbox.h self contained Sascha Hauer
2024-11-08  9:52 ` Sascha Hauer

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