summaryrefslogtreecommitdiff
path: root/drivers/interconnect/qcom/sdx65.c
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2023-07-14 20:46:36 +0300
committerGeorgi Djakov <djakov@kernel.org>2023-07-16 18:27:27 +0300
commitcff66ace51e3acfcba3ab03f92adc9510830c365 (patch)
treedff27f3c674251d05d406e7193bd8a6e5fd369ae /drivers/interconnect/qcom/sdx65.c
parent79e32c9f59779780cea74bfd40fa1c0d4d6c205a (diff)
downloadlinux-cff66ace51e3acfcba3ab03f92adc9510830c365.tar.xz
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/sdx65.c')
-rw-r--r--drivers/interconnect/qcom/sdx65.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/interconnect/qcom/sdx65.c b/drivers/interconnect/qcom/sdx65.c
index b16d31d53e9b..f42392d505dd 100644
--- a/drivers/interconnect/qcom/sdx65.c
+++ b/drivers/interconnect/qcom/sdx65.c
@@ -6,8 +6,9 @@
#include <linux/device.h>
#include <linux/interconnect.h>
#include <linux/interconnect-provider.h>
+#include <linux/mod_devicetable.h>
#include <linux/module.h>
-#include <linux/of_platform.h>
+#include <linux/platform_device.h>
#include <dt-bindings/interconnect/qcom,sdx65.h>
#include "bcm-voter.h"