summaryrefslogtreecommitdiffstats
path: root/drivers/interconnect/qcom/sc8180x.c
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2023-07-14 19:46:36 +0200
committerGeorgi Djakov <djakov@kernel.org>2023-07-16 17:27:27 +0200
commitcff66ace51e3acfcba3ab03f92adc9510830c365 (patch)
treedff27f3c674251d05d406e7193bd8a6e5fd369ae /drivers/interconnect/qcom/sc8180x.c
parentMerge branch 'qcom/20230526-topic-smd_icc-v7-0-09c78c175546@linaro.org' of ht... (diff)
downloadlinux-cff66ace51e3acfcba3ab03f92adc9510830c365.tar.xz
linux-cff66ace51e3acfcba3ab03f92adc9510830c365.zip
interconnect: 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/20230714174638.4058268-1-robh@kernel.org Signed-off-by: Georgi Djakov <djakov@kernel.org>
Diffstat (limited to 'drivers/interconnect/qcom/sc8180x.c')
-rw-r--r--drivers/interconnect/qcom/sc8180x.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/interconnect/qcom/sc8180x.c b/drivers/interconnect/qcom/sc8180x.c
index c76e3a6a98cd..0fb4898dabcf 100644
--- a/drivers/interconnect/qcom/sc8180x.c
+++ b/drivers/interconnect/qcom/sc8180x.c
@@ -7,7 +7,8 @@
#include <linux/device.h>
#include <linux/interconnect-provider.h>
#include <linux/module.h>
-#include <linux/of_device.h>
+#include <linux/mod_devicetable.h>
+#include <linux/platform_device.h>
#include <dt-bindings/interconnect/qcom,sc8180x.h>