summaryrefslogtreecommitdiff
path: root/drivers/soc/qcom/pmic_glink.c
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2023-07-14 20:51:41 +0300
committerBjorn Andersson <andersson@kernel.org>2023-07-15 00:05:06 +0300
commit6484be9dd109bded43953ae7883bd69b5d841a0b (patch)
treeb2c7b9cf1c8a812f3301477c94ace9a89f44ba32 /drivers/soc/qcom/pmic_glink.c
parent8ddfa81d090c71fd6cb3cb8ca1d420c0da33a575 (diff)
downloadlinux-6484be9dd109bded43953ae7883bd69b5d841a0b.tar.xz
soc: qcom: 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> Link: https://lore.kernel.org/r/20230714175142.4067795-1-robh@kernel.org Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Diffstat (limited to 'drivers/soc/qcom/pmic_glink.c')
-rw-r--r--drivers/soc/qcom/pmic_glink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/soc/qcom/pmic_glink.c b/drivers/soc/qcom/pmic_glink.c
index c87056769ebd..264e63493bfe 100644
--- a/drivers/soc/qcom/pmic_glink.c
+++ b/drivers/soc/qcom/pmic_glink.c
@@ -4,8 +4,8 @@
* Copyright (c) 2022, Linaro Ltd
*/
#include <linux/auxiliary_bus.h>
-#include <linux/of_device.h>
#include <linux/module.h>
+#include <linux/of.h>
#include <linux/platform_device.h>
#include <linux/rpmsg.h>
#include <linux/slab.h>