projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9bd1cc4
)
staging: octeon-hcd: Directly include linux/of.h
author
Marc Zyngier
<maz@kernel.org>
Thu, 13 Sep 2018 08:31:09 +0000
(09:31 +0100)
committer
Marc 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
patch
|
blob
|
history
diff --git
a/drivers/staging/octeon-usb/octeon-hcd.c
b/drivers/staging/octeon-usb/octeon-hcd.c
index
f27f20a
..
a1cd81d
100644
(file)
--- a/
drivers/staging/octeon-usb/octeon-hcd.c
+++ b/
drivers/staging/octeon-usb/octeon-hcd.c
@@
-50,8
+50,10
@@
#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>