diff options
author | Tomasz Figa <t.figa@samsung.com> | 2014-07-02 17:37:45 (GMT) |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2014-07-18 19:32:11 (GMT) |
commit | 0a90d4d62c71e27cedebf938d7c37db543b93e78 (patch) | |
tree | fde403289522c6fc95924e3cf03f2e3a0728786a /arch/arm/mach-s5pv210/common.h | |
parent | 28c8331d386a0c4122501a848a8fc3680bb65427 (diff) | |
download | linux-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.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/mach-s5pv210/common.h b/arch/arm/mach-s5pv210/common.h index 0b694c7..2ad387c 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 */ |