arm64: add ARCH_HAS_OPP to allow enabling OPP library
authorSudeep Holla <sudeep.holla@arm.com>
Fri, 9 May 2014 09:33:02 +0000 (10:33 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 24 Oct 2014 11:00:12 +0000 (12:00 +0100)
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

arch/arm64/Kconfig

index de9eeb43f622e9edec903865c8f745d02a7b7657..65044ae9d2387b702184ece5fc04aa01b2b765e2 100644 (file)
@@ -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