diff mbox series

[1/6] cpufreq: qcom: Add explicit io.h include for readl/writel_relaxed

Message ID 20240806-dt-api-cleanups-v1-1-459e2c840e7d@kernel.org
State Accepted
Commit 5c326d24c1b31a275afc05b4fbb7292eabd4d70a
Headers show
Series cpufreq: Enable COMPILE_TEST on Arm drivers | expand

Commit Message

Rob Herring (Arm) Aug. 6, 2024, 1:58 p.m. UTC
The qcom-cpufreq-hw driver is relying on an implicit include of io.h
which doesn't get included on some architectures.

Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
---
 drivers/cpufreq/qcom-cpufreq-hw.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/drivers/cpufreq/qcom-cpufreq-hw.c b/drivers/cpufreq/qcom-cpufreq-hw.c
index 370fe6a0104b..900d6844c43d 100644
--- a/drivers/cpufreq/qcom-cpufreq-hw.c
+++ b/drivers/cpufreq/qcom-cpufreq-hw.c
@@ -9,6 +9,7 @@ 
 #include <linux/init.h>
 #include <linux/interconnect.h>
 #include <linux/interrupt.h>
+#include <linux/io.h>
 #include <linux/kernel.h>
 #include <linux/module.h>
 #include <linux/of.h>