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@xxxxxxxxxxxxxx> --- 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