diff options
author | Rob Herring <robh@kernel.org> | 2023-07-18 08:30:23 -0600 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-07-25 18:20:02 +0200 |
commit | 484468fb0f7dbac88f050009a5145ed1ee744a7e (patch) | |
tree | 161f44daab762a0a694ef9ad0a38037bc1cf6ca2 /drivers/usb/musb/jz4740.c | |
parent | 48cb8ff3e250301a5a48925281a7096969ab3a48 (diff) | |
download | linux-stable-484468fb0f7dbac88f050009a5145ed1ee744a7e.tar.gz linux-stable-484468fb0f7dbac88f050009a5145ed1ee744a7e.tar.bz2 linux-stable-484468fb0f7dbac88f050009a5145ed1ee744a7e.zip |
usb: Explicitly include correct DT includes
The DT of_device.h and of_platform.h date back to the separate
of_platform_bus_type before it as merged into the regular platform bus.
As part of that merge prepping Arm DT support 13 years ago, they
"temporarily" include each other. They also include platform_device.h
and of.h. As a result, there's a pretty much random mix of those include
files used throughout the tree. In order to detangle these headers and
replace the implicit includes with struct declarations, users need to
explicitly include the correct includes.
Acked-by: Herve Codina <herve.codina@bootlin.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20230718143027.1064731-1-robh@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/musb/jz4740.c')
-rw-r--r-- | drivers/usb/musb/jz4740.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/musb/jz4740.c b/drivers/usb/musb/jz4740.c index 5aabdd7e2511..b38df9226278 100644 --- a/drivers/usb/musb/jz4740.c +++ b/drivers/usb/musb/jz4740.c @@ -10,7 +10,7 @@ #include <linux/errno.h> #include <linux/kernel.h> #include <linux/module.h> -#include <linux/of_device.h> +#include <linux/of.h> #include <linux/phy/phy.h> #include <linux/platform_device.h> #include <linux/usb/role.h> |