aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSudeep Holla <sudeep.holla@arm.com>2014-05-09 10:33:02 +0100
committerMark Brown <broonie@kernel.org>2014-10-24 12:00:12 +0100
commitf58774ef0b9c226e240ba8bb4f55a295531cd2d5 (patch)
treef394f36076c816fc42b8cf587cd9499a8999dd07
parent1d4a16a767d7bc89e6ab3713c1e8485bc30884c2 (diff)
arm64: add ARCH_HAS_OPP to allow enabling OPP library
The Operating Performance Point (OPP) Layer library is a generic library used by CPUFREQ and DEVFREQ. It can be enabled only on the platforms that specify ARCH_HAS_OPP option. This patch selects that option in order to allow ARM64 based platforms to use OPP library. Signed-off-by: Sudeep Holla <sudeep.holla@arm.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com> (cherry picked from commit 333d17e566192efda500769fb55b11da71c6d960) Signed-off-by: Mark Brown <broonie@kernel.org> Conflicts: arch/arm64/Kconfig
-rw-r--r--arch/arm64/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
index de9eeb43f622..65044ae9d238 100644
--- a/arch/arm64/Kconfig
+++ b/arch/arm64/Kconfig
@@ -1,6 +1,7 @@
config ARM64
def_bool y
select ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE
+ select ARCH_HAS_OPP
select ARCH_USE_CMPXCHG_LOCKREF
select ARCH_WANT_OPTIONAL_GPIOLIB
select ARCH_WANT_COMPAT_IPC_PARSE_VERSION