summaryrefslogtreecommitdiffstats
path: root/drivers/cpufreq/vexpress-spc-cpufreq.c
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2023-07-14 19:44:13 +0200
committerViresh Kumar <viresh.kumar@linaro.org>2023-07-20 12:31:57 +0200
commita70eb93a2477371638ef481aaae7bb7b760d3004 (patch)
tree9ac8464f32f5f3e6fb481ec40068eccdfabe6c98 /drivers/cpufreq/vexpress-spc-cpufreq.c
parentLinux 6.5-rc1 (diff)
downloadlinux-a70eb93a2477371638ef481aaae7bb7b760d3004.tar.xz
linux-a70eb93a2477371638ef481aaae7bb7b760d3004.zip
cpufreq: 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> Acked-by: Rafael J. Wysocki <rafael@kernel.org> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to '')
-rw-r--r--drivers/cpufreq/vexpress-spc-cpufreq.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/cpufreq/vexpress-spc-cpufreq.c b/drivers/cpufreq/vexpress-spc-cpufreq.c
index d295f405c4bb..865e50164803 100644
--- a/drivers/cpufreq/vexpress-spc-cpufreq.c
+++ b/drivers/cpufreq/vexpress-spc-cpufreq.c
@@ -18,7 +18,6 @@
#include <linux/device.h>
#include <linux/module.h>
#include <linux/mutex.h>
-#include <linux/of_platform.h>
#include <linux/platform_device.h>
#include <linux/pm_opp.h>
#include <linux/slab.h>