aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-exynos
diff options
context:
space:
mode:
authorTomasz Figa <t.figa@samsung.com>2014-03-20 13:59:30 -0400
committerKukjin Kim <kgene.kim@samsung.com>2014-03-20 18:17:17 -0400
commit8dec067dc9c59f9fdcaf4357c22994cde3647eb8 (patch)
tree1b82a9f2c23f4e65a8e3c071f82a57de4cee9a5b /arch/arm/mach-exynos
parent58f37b0d47e9839fc8ef90d712594ed55cfcb2c7 (diff)
ARM: EXYNOS: Fix compilation error in cpuidle.c
The big series refactoring Exynos suspend to RAM handling missed the cpuidle driver that is disabled in exynos_defconfig, leaving it including old mach/pm_core.h header and using old s3c_cpu_resume symbol instead of new exynos_cpu_resume, resulting in compilation failures with CONFIG_ARCH_EXYNOS and CONFIG_CPU_IDLE enabled. This patch fixes that silly mistake and performs necessary modification to arhc/arm/exynos/cpuidle.c to make it compile again. Signed-off-by: Tomasz Figa <t.figa@samsung.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-exynos')
-rw-r--r--arch/arm/mach-exynos/cpuidle.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/mach-exynos/cpuidle.c b/arch/arm/mach-exynos/cpuidle.c
index f57cb91f02aa..b530231130a0 100644
--- a/arch/arm/mach-exynos/cpuidle.c
+++ b/arch/arm/mach-exynos/cpuidle.c
@@ -26,7 +26,6 @@
26#include <plat/cpu.h> 26#include <plat/cpu.h>
27#include <plat/pm.h> 27#include <plat/pm.h>
28 28
29#include <mach/pm-core.h>
30#include <mach/map.h> 29#include <mach/map.h>
31 30
32#include "common.h" 31#include "common.h"
@@ -127,7 +126,7 @@ static int exynos4_enter_core0_aftr(struct cpuidle_device *dev,
127 /* Set value of power down register for aftr mode */ 126 /* Set value of power down register for aftr mode */
128 exynos_sys_powerdown_conf(SYS_AFTR); 127 exynos_sys_powerdown_conf(SYS_AFTR);
129 128
130 __raw_writel(virt_to_phys(s3c_cpu_resume), REG_DIRECTGO_ADDR); 129 __raw_writel(virt_to_phys(exynos_cpu_resume), REG_DIRECTGO_ADDR);
131 __raw_writel(S5P_CHECK_AFTR, REG_DIRECTGO_FLAG); 130 __raw_writel(S5P_CHECK_AFTR, REG_DIRECTGO_FLAG);
132 131
133 save_cpu_arch_register(); 132 save_cpu_arch_register();