OSDN Git Service

staging: octeon-hcd: Directly include linux/of.h
authorMarc Zyngier <maz@kernel.org>
Thu, 13 Sep 2018 08:31:09 +0000 (09:31 +0100)
committerMarc Zyngier <maz@kernel.org>
Thu, 10 Jun 2021 12:09:15 +0000 (13:09 +0100)
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@kernel.org>
drivers/staging/octeon-usb/octeon-hcd.c

index f27f20a..a1cd81d 100644 (file)
 #include <linux/module.h>
 #include <linux/usb/hcd.h>
 #include <linux/prefetch.h>
+#include <linux/irqdomain.h>
 #include <linux/dma-mapping.h>
 #include <linux/platform_device.h>
+#include <linux/of.h>
 
 #include <asm/octeon/octeon.h>