diff options
author | Rob Herring <robh@kernel.org> | 2023-07-14 19:46:36 +0200 |
---|---|---|
committer | Georgi Djakov <djakov@kernel.org> | 2023-07-16 17:27:27 +0200 |
commit | cff66ace51e3acfcba3ab03f92adc9510830c365 (patch) | |
tree | dff27f3c674251d05d406e7193bd8a6e5fd369ae /drivers/interconnect/qcom/qcm2290.c | |
parent | Merge branch 'qcom/20230526-topic-smd_icc-v7-0-09c78c175546@linaro.org' of ht... (diff) | |
download | linux-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/qcm2290.c')
-rw-r--r-- | drivers/interconnect/qcom/qcm2290.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/interconnect/qcom/qcm2290.c b/drivers/interconnect/qcom/qcm2290.c index 8fc4acc4220b..3c3b24264a5b 100644 --- a/drivers/interconnect/qcom/qcm2290.c +++ b/drivers/interconnect/qcom/qcm2290.c @@ -10,9 +10,8 @@ #include <linux/device.h> #include <linux/interconnect-provider.h> #include <linux/io.h> +#include <linux/mod_devicetable.h> #include <linux/module.h> -#include <linux/of_device.h> -#include <linux/of_platform.h> #include <linux/platform_device.h> #include <linux/regmap.h> #include <linux/slab.h> |