summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s5pv210/common.h
diff options
context:
space:
mode:
authorTomasz Figa <t.figa@samsung.com>2014-07-02 19:37:45 +0200
committerKukjin Kim <kgene.kim@samsung.com>2014-07-18 21:32:11 +0200
commit0a90d4d62c71e27cedebf938d7c37db543b93e78 (patch)
treefde403289522c6fc95924e3cf03f2e3a0728786a /arch/arm/mach-s5pv210/common.h
parentARM: S5PV210: Remove support for board files (diff)
downloadlinux-0a90d4d62c71e27cedebf938d7c37db543b93e78.tar.xz
linux-0a90d4d62c71e27cedebf938d7c37db543b93e78.zip
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 */