Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Rob Herring and committed by
Greg Kroah-Hartman
c19473d2 f49449fb

+1
+1
drivers/usb/musb/da8xx.c
··· 17 17 #include <linux/clk.h> 18 18 #include <linux/err.h> 19 19 #include <linux/io.h> 20 + #include <linux/of.h> 20 21 #include <linux/of_platform.h> 21 22 #include <linux/phy/phy.h> 22 23 #include <linux/platform_device.h>