diff options
author | Rob Herring <robh@kernel.org> | 2023-07-14 11:46:36 -0600 |
---|---|---|
committer | Georgi Djakov <djakov@kernel.org> | 2023-07-16 18:27:27 +0300 |
commit | cff66ace51e3acfcba3ab03f92adc9510830c365 (patch) | |
tree | dff27f3c674251d05d406e7193bd8a6e5fd369ae /drivers/interconnect/qcom/sc7180.c | |
parent | 79e32c9f59779780cea74bfd40fa1c0d4d6c205a (diff) |
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/sc7180.c')
-rw-r--r-- | drivers/interconnect/qcom/sc7180.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/interconnect/qcom/sc7180.c b/drivers/interconnect/qcom/sc7180.c index ef4e13fb4983..d16298e77906 100644 --- a/drivers/interconnect/qcom/sc7180.c +++ b/drivers/interconnect/qcom/sc7180.c @@ -7,8 +7,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,sc7180.h> #include "bcm-voter.h" |