summaryrefslogtreecommitdiff
path: root/drivers/usb/musb
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2023-10-10 00:13:47 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-10-10 09:55:20 +0300
commitc19473d28235a54e92821e927cb55690ad7c5279 (patch)
tree743a31009895164bc2599b73ff7379e5b820f3e1 /drivers/usb/musb
parentf49449fbc21e7e9550a5203902d69c8ae7dfd918 (diff)
downloadlinux-c19473d28235a54e92821e927cb55690ad7c5279.tar.xz
usb: musb: Add missing of.h include
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. Add of.h which is implicitly included by of_platform.h. Signed-off-by: Rob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/20231009211356.3242037-17-robh@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/musb')
-rw-r--r--drivers/usb/musb/da8xx.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/musb/da8xx.c b/drivers/usb/musb/da8xx.c
index 912e32b78ac6..8abf3a567e30 100644
--- a/drivers/usb/musb/da8xx.c
+++ b/drivers/usb/musb/da8xx.c
@@ -17,6 +17,7 @@
#include <linux/clk.h>
#include <linux/err.h>
#include <linux/io.h>
+#include <linux/of.h>
#include <linux/of_platform.h>
#include <linux/phy/phy.h>
#include <linux/platform_device.h>