cpufreq: arm: Kconfig: add CPUFREQ_DT depend for STI CPUFREQ
authorAlain Volmat <avolmat@me.com>
Mon, 31 Aug 2020 06:10:13 +0000 (08:10 +0200)
committerViresh Kumar <viresh.kumar@linaro.org>
Wed, 16 Sep 2020 08:42:18 +0000 (14:12 +0530)
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>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
drivers/cpufreq/Kconfig.arm

index cb72fb5..bf5830e 100644 (file)
@@ -283,7 +283,7 @@ config ARM_SPEAR_CPUFREQ
 
 config ARM_STI_CPUFREQ
        tristate "STi CPUFreq support"
-       depends on SOC_STIH407
+       depends on CPUFREQ_DT && SOC_STIH407
        help
          This driver uses the generic OPP framework to match the running
          platform with a predefined set of suitable values.  If not provided