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)
commitee2593ef5680a8646c6465ce998fea30b5af9b2b
tree1580da88b729e595cf67a44449f7e1d30ee3cbc5
parentfbb0499091dc1132995214a47188214602fd75c9
ARM: 8099/1: EXYNOS: Fix MCPM build with SUSPEND=n

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