diff mbox series

[3/3] cpufreq: arm: Kconfig: add CPUFREQ_DT depend for STI CPUFREQ

Message ID 20200831061013.4327-4-avolmat@me.com (mailing list archive)
State New, archived
Delegated to: viresh kumar
Headers show
Series Enable CPUFreq for STi stih418 SoC. | expand

Commit Message

Alain Volmat Aug. 31, 2020, 6:10 a.m. UTC
The sti cpufreq driver is relying on the CPUFREQ_DT driver
hence add the depends within the Kconfig.arm

Signed-off-by: Alain Volmat <avolmat@me.com>
 drivers/cpufreq/Kconfig.arm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series


diff --git a/drivers/cpufreq/Kconfig.arm b/drivers/cpufreq/Kconfig.arm
index cb72fb507d57..bf5830eb664f 100644
--- a/drivers/cpufreq/Kconfig.arm
+++ b/drivers/cpufreq/Kconfig.arm
@@ -283,7 +283,7 @@  config ARM_SPEAR_CPUFREQ
 	tristate "STi CPUFreq support"
-	depends on SOC_STIH407
+	depends on CPUFREQ_DT && SOC_STIH407
 	  This driver uses the generic OPP framework to match the running
 	  platform with a predefined set of suitable values.  If not provided