[PATCH 02/39] staging: octeon-hcd: Directly include linux/of.h

From: Marc Zyngier
Date: Thu May 20 2021 - 12:38:09 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>
---
drivers/staging/octeon-usb/octeon-hcd.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/staging/octeon-usb/octeon-hcd.c b/drivers/staging/octeon-usb/octeon-hcd.c
index f27f20a4aa2d..a079bd0f5b61 100644
--- a/drivers/staging/octeon-usb/octeon-hcd.c
+++ b/drivers/staging/octeon-usb/octeon-hcd.c
@@ -52,6 +52,7 @@
#include <linux/prefetch.h>
#include <linux/dma-mapping.h>
#include <linux/platform_device.h>
+#include <linux/of.h>

#include <asm/octeon/octeon.h>

--
2.30.2