ARM: 8099/1: EXYNOS: Fix MCPM build with SUSPEND=n
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>
Mon, 14 Jul 2014 12:59:03 +0000 (13:59 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 18 Jul 2014 11:29:00 +0000 (12:29 +0100)
Building of EXYNOS5420_MCPM with disabled SUSPEND fails:
arch/arm/mach-exynos/built-in.o: In function `exynos_mcpm_init':
arch/arm/mach-exynos/mcpm-exynos.c:361: undefined reference to `mcpm_loopback'

The exynos_mcpm_init() in mcp-exynos.c calls mcpm_loopback() which
depends on cpu_suspend function (ARM_CPU_SUSPEND).

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Acked-by: Nicolas Pitre <nico@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-exynos/Kconfig

index 8f9b66c4ac78804981692a8a27d06f49979fa6bc..5d4ff6571dcd3ceb728e59f433f49d3657372359 100644 (file)
@@ -119,6 +119,7 @@ config EXYNOS5420_MCPM
        bool "Exynos5420 Multi-Cluster PM support"
        depends on MCPM && SOC_EXYNOS5420
        select ARM_CCI
+       select ARM_CPU_SUSPEND
        help
          This is needed to provide CPU and cluster power management
          on Exynos5420 implementing big.LITTLE.