From: Alain Volmat Date: Mon, 31 Aug 2020 06:10:13 +0000 (+0200) Subject: cpufreq: arm: Kconfig: add CPUFREQ_DT depend for STI CPUFREQ X-Git-Tag: v5.10-rc1~150^2~3^2~5^2~7 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a0d698d8c21aaa71b2a2fc6c938d658797e31911;p=thirdparty%2Fkernel%2Flinux.git cpufreq: arm: Kconfig: add CPUFREQ_DT depend for STI CPUFREQ The sti cpufreq driver is relying on the CPUFREQ_DT driver hence add the depends within the Kconfig.arm Signed-off-by: Alain Volmat Signed-off-by: Viresh Kumar --- diff --git a/drivers/cpufreq/Kconfig.arm b/drivers/cpufreq/Kconfig.arm index cb72fb507d574..bf5830eb664ff 100644 --- a/drivers/cpufreq/Kconfig.arm +++ b/drivers/cpufreq/Kconfig.arm @@ -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