[PATCH 2/2] cpufreq: highbank: rework the kconfig dependencies for arm64

From: Rob Herring
Date: Wed Dec 04 2013 - 19:23:39 EST


From: Rob Herring <rob.herring@xxxxxxxxxxx>

Make ARM_HIGHBANK_CPUFREQ not depend on ARCH_HIGHBANK to enable on
arm64 and also give better build converage. Change the selects to be
same depends as the cpu0 driver. Otherwise, we can get kconfig select
errors. Also, add missing depends for PL320_MBOX.

Signed-off-by: Rob Herring <rob.herring@xxxxxxxxxxx>
Cc: "Rafael J. Wysocki" <rjw@xxxxxxx>
Cc: Viresh Kumar <viresh.kumar@xxxxxxxxxx>
Cc: cpufreq@xxxxxxxxxxxxxxx
Cc: linux-pm@xxxxxxxxxxxxxxx
---
drivers/cpufreq/Kconfig.arm | 14 ++++++--------
1 file changed, 6 insertions(+), 8 deletions(-)

diff --git a/drivers/cpufreq/Kconfig.arm b/drivers/cpufreq/Kconfig.arm
index ce52ed9..0d7130d 100644
--- a/drivers/cpufreq/Kconfig.arm
+++ b/drivers/cpufreq/Kconfig.arm
@@ -65,16 +65,14 @@ config ARM_EXYNOS5440_CPUFREQ
If in doubt, say N.

config ARM_HIGHBANK_CPUFREQ
- tristate "Calxeda Highbank-based"
- depends on ARCH_HIGHBANK
- select GENERIC_CPUFREQ_CPU0
+ tristate "Calxeda ECX based"
+ depends on HAVE_CLK && REGULATOR && OF
+ depends on PL320_MBOX
+ select ARCH_HAS_OPP
select PM_OPP
- select REGULATOR
-
- default m
+ select GENERIC_CPUFREQ_CPU0
help
- This adds the CPUFreq driver for Calxeda Highbank SoC
- based boards.
+ This adds the CPUFreq driver for Calxeda based SoCs.

If in doubt, say N.

--
1.8.3.2

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/