summaryrefslogtreecommitdiffstats
path: root/drivers/soc/qcom/pmic_glink_altmode.c
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2023-07-14 19:51:41 +0200
committerBjorn Andersson <andersson@kernel.org>2023-07-14 23:05:06 +0200
commit6484be9dd109bded43953ae7883bd69b5d841a0b (patch)
treeb2c7b9cf1c8a812f3301477c94ace9a89f44ba32 /drivers/soc/qcom/pmic_glink_altmode.c
parentsoc: qcom: Add RPM processor/subsystem driver (diff)
downloadlinux-6484be9dd109bded43953ae7883bd69b5d841a0b.tar.xz
linux-6484be9dd109bded43953ae7883bd69b5d841a0b.zip
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_altmode.c')
-rw-r--r--drivers/soc/qcom/pmic_glink_altmode.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/soc/qcom/pmic_glink_altmode.c b/drivers/soc/qcom/pmic_glink_altmode.c
index df48fbea4b68..1dedacc52aea 100644
--- a/drivers/soc/qcom/pmic_glink_altmode.c
+++ b/drivers/soc/qcom/pmic_glink_altmode.c
@@ -6,6 +6,7 @@
#include <linux/auxiliary_bus.h>
#include <linux/bitfield.h>
#include <linux/module.h>
+#include <linux/of.h>
#include <linux/of_device.h>
#include <linux/mutex.h>
#include <linux/property.h>