Răsfoiți Sursa

cpufreq: SCPI: Depend on SCPI clk driver

The SCPI clk driver registers the virtual cpufreq device that kicks off
initialisation of the SCPI cpufreq driver. Also, clk_get() will fail for
the cpufreq driver if the SCPI clk driver is missing.

Fix this by making the SCPI cpufreq driver explicitly depend on the SCPI
clk driver.

Fixes: 8def31034d03 (cpufreq: arm_big_little: add SCPI interface driver)
Signed-off-by: Punit Agrawal <punit.agrawal@arm.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Punit Agrawal 9 ani în urmă
părinte
comite
73124ced9c
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      drivers/cpufreq/Kconfig.arm

+ 1 - 1
drivers/cpufreq/Kconfig.arm

@@ -202,7 +202,7 @@ config ARM_SA1110_CPUFREQ
 
 
 config ARM_SCPI_CPUFREQ
 config ARM_SCPI_CPUFREQ
         tristate "SCPI based CPUfreq driver"
         tristate "SCPI based CPUfreq driver"
-	depends on ARM_BIG_LITTLE_CPUFREQ && ARM_SCPI_PROTOCOL
+	depends on ARM_BIG_LITTLE_CPUFREQ && ARM_SCPI_PROTOCOL && COMMON_CLK_SCPI
         help
         help
 	  This adds the CPUfreq driver support for ARM big.LITTLE platforms
 	  This adds the CPUfreq driver support for ARM big.LITTLE platforms
 	  using SCPI protocol for CPU power management.
 	  using SCPI protocol for CPU power management.