[PATCH 06/39] MIPS: lantiq: Directly include linux/of.h in xway/dma.c

From: Marc Zyngier
Date: Thu May 20 2021 - 12:38:20 EST


This drivers currently obtains linux/of.h by luck and a chain of
bizarre inclusions, which we're about to fix.

Let's include the required file directly.

Signed-off-by: Marc Zyngier <maz@xxxxxxxxxx>
---
arch/mips/lantiq/xway/dma.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/arch/mips/lantiq/xway/dma.c b/arch/mips/lantiq/xway/dma.c
index aeb1b989cd4e..63dccb2ed08b 100644
--- a/arch/mips/lantiq/xway/dma.c
+++ b/arch/mips/lantiq/xway/dma.c
@@ -12,6 +12,7 @@
#include <linux/spinlock.h>
#include <linux/clk.h>
#include <linux/err.h>
+#include <linux/of.h>

#include <lantiq_soc.h>
#include <xway_dma.h>
--
2.30.2