summaryrefslogtreecommitdiff
path: root/arch/arm/mach-s5pv210/common.h
diff options
context:
space:
mode:
authorTomasz Figa <t.figa@samsung.com>2014-07-02 21:37:45 +0400
committerKukjin Kim <kgene.kim@samsung.com>2014-07-18 23:32:11 +0400
commit0a90d4d62c71e27cedebf938d7c37db543b93e78 (patch)
treefde403289522c6fc95924e3cf03f2e3a0728786a /arch/arm/mach-s5pv210/common.h
parent28c8331d386a0c4122501a848a8fc3680bb65427 (diff)
downloadlinux-0a90d4d62c71e27cedebf938d7c37db543b93e78.tar.xz
ARM: S5PV210: Untie PM support from legacy code
This patch makes S5PV210 not rely on legacy suspend helpers in plat-samsung and implements platform suspend logic locally, similarly to Exynos. Signed-off-by: Tomasz Figa <t.figa@samsung.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-s5pv210/common.h')
-rw-r--r--arch/arm/mach-s5pv210/common.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/mach-s5pv210/common.h b/arch/arm/mach-s5pv210/common.h
index 0b694c798ad1..2ad387c1ecf0 100644
--- a/arch/arm/mach-s5pv210/common.h
+++ b/arch/arm/mach-s5pv210/common.h
@@ -12,5 +12,12 @@
#ifndef __ARCH_ARM_MACH_S5PV210_COMMON_H
#define __ARCH_ARM_MACH_S5PV210_COMMON_H
+#ifdef CONFIG_PM_SLEEP
+u32 exynos_get_eint_wake_mask(void);
+void s5pv210_cpu_resume(void);
+void s5pv210_pm_init(void);
+#else
+static inline void s5pv210_pm_init(void) {}
+#endif
#endif /* __ARCH_ARM_MACH_S5PV210_COMMON_H */