summaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-s3c/include/plat
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/plat-s3c/include/plat')
-rw-r--r--arch/arm/plat-s3c/include/plat/pm.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm/plat-s3c/include/plat/pm.h b/arch/arm/plat-s3c/include/plat/pm.h
index a1520997ab8..95c2612d497 100644
--- a/arch/arm/plat-s3c/include/plat/pm.h
+++ b/arch/arm/plat-s3c/include/plat/pm.h
@@ -101,3 +101,15 @@ extern void s3c_pm_dbg(const char *msg, ...);
#else
#define S3C_PMDBG(fmt...) printk(KERN_DEBUG fmt)
#endif
+
+/* suspend memory checking */
+
+#ifdef CONFIG_S3C2410_PM_CHECK
+extern void s3c_pm_check_prepare(void);
+extern void s3c_pm_check_restore(void);
+extern void s3c_pm_check_store(void);
+#else
+#define s3c_pm_check_prepare() do { } while(0)
+#define s3c_pm_check_restore() do { } while(0)
+#define s3c_pm_check_store() do { } while(0)
+#endif