aboutsummaryrefslogtreecommitdiff
path: root/drivers/phy/amlogic/phy-meson-g12a-mipi-dphy-analog.c
diff options
context:
space:
mode:
authorGravatar Rob Herring <robh@kernel.org> 2023-07-14 11:48:35 -0600
committerGravatar Vinod Koul <vkoul@kernel.org> 2023-07-17 11:52:56 +0530
commit7559e7572c03e433efec7734af6a674fdd83dd68 (patch)
tree40eced5e24995541bbe54b68e9c3792f2ee94360 /drivers/phy/amlogic/phy-meson-g12a-mipi-dphy-analog.c
parentphy: ti: gmii-sel: Allow parent to not be syscon node (diff)
downloadlinux-7559e7572c03e433efec7734af6a674fdd83dd68.tar.gz
linux-7559e7572c03e433efec7734af6a674fdd83dd68.tar.bz2
linux-7559e7572c03e433efec7734af6a674fdd83dd68.zip
phy: 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. Signed-off-by: Rob Herring <robh@kernel.org> Acked-by: Marc Kleine-Budde <mkl@pengutronix.de> # for drivers/phy/phy-can-transceiver.c Acked-by: Heiko Stuebner <heiko@sntech.de> Acked-by: Sergio Paracuellos <sergio.paracuellos@gmail.com> Link: https://lore.kernel.org/r/20230714174841.4061919-1-robh@kernel.org Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/phy/amlogic/phy-meson-g12a-mipi-dphy-analog.c')
-rw-r--r--drivers/phy/amlogic/phy-meson-g12a-mipi-dphy-analog.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/phy/amlogic/phy-meson-g12a-mipi-dphy-analog.c b/drivers/phy/amlogic/phy-meson-g12a-mipi-dphy-analog.c
index cabdddbbabfd..46e5f7e7eb6c 100644
--- a/drivers/phy/amlogic/phy-meson-g12a-mipi-dphy-analog.c
+++ b/drivers/phy/amlogic/phy-meson-g12a-mipi-dphy-analog.c
@@ -13,6 +13,7 @@
#include <linux/regmap.h>
#include <linux/delay.h>
#include <linux/mfd/syscon.h>
+#include <linux/of.h>
#include <linux/platform_device.h>
#include <dt-bindings/phy/phy.h>