ARM: EXYNOS: Fix build breakge with PM_SLEEP=n
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>
Fri, 18 Jul 2014 19:45:02 +0000 (04:45 +0900)
committerOlof Johansson <olof@lixom.net>
Sat, 19 Jul 2014 21:59:24 +0000 (14:59 -0700)
commit7310d99ffcd15abe6c4168c36bb63a8e7dee617a
treee01ceaf4f418c808001741951c09cf7f4b89eaf8
parent4e9816d012dbc28dc89559261c6ffbf8ffc440dd
ARM: EXYNOS: Fix build breakge with PM_SLEEP=n

Fix building of exynos_defconfig with disabled PM_SLEEP:
CONFIG_PM_SLEEP=n
CONFIG_PM_SLEEP_SMP=n
CONFIG_SUSPEND=n
by moving functions for power up/down of CPU and cluster to platsmp.c

The build error messages:
arch/arm/mach-exynos/built-in.o: In function `exynos_boot_secondary':
arch/arm/mach-exynos/platsmp.c:111: undefined reference to `exynos_cpu_power_state'
arch/arm/mach-exynos/platsmp.c:112: undefined reference to `exynos_cpu_power_up'
arch/arm/mach-exynos/platsmp.c:116: undefined reference to `exynos_cpu_power_state'
make: *** [vmlinux] Error 1

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Reviewed-by: Tomasz Figa <t.figa@samsung.com>,
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
arch/arm/mach-exynos/platsmp.c
arch/arm/mach-exynos/pm.c