diff options
author | Ben Dooks <ben-linux@fluff.org> | 2008-12-11 19:24:07 -0500 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2009-03-08 08:33:39 -0400 |
commit | 549c7e33aeb9bfe441ecf68639d2227bb90978e7 (patch) | |
tree | f5aa85c1c0a4f581273814cd5a62510d40e7117f /arch/arm/plat-s3c/include/plat/pm.h | |
parent | 6419711a164ba1304fa8fbb75ae9485455e04dcd (diff) |
[ARM] S3C: Split the resume memory check code from pm.c
Split the optional memory check code out of the pm.c file
as it is quite a big #ifdef block and as-such can be moved
out and simply compiled when the configuration is set.
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'arch/arm/plat-s3c/include/plat/pm.h')
-rw-r--r-- | arch/arm/plat-s3c/include/plat/pm.h | 12 |
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 a1520997ab82..95c2612d4976 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, ...); | |||
101 | #else | 101 | #else |
102 | #define S3C_PMDBG(fmt...) printk(KERN_DEBUG fmt) | 102 | #define S3C_PMDBG(fmt...) printk(KERN_DEBUG fmt) |
103 | #endif | 103 | #endif |
104 | |||
105 | /* suspend memory checking */ | ||
106 | |||
107 | #ifdef CONFIG_S3C2410_PM_CHECK | ||
108 | extern void s3c_pm_check_prepare(void); | ||
109 | extern void s3c_pm_check_restore(void); | ||
110 | extern void s3c_pm_check_store(void); | ||
111 | #else | ||
112 | #define s3c_pm_check_prepare() do { } while(0) | ||
113 | #define s3c_pm_check_restore() do { } while(0) | ||
114 | #define s3c_pm_check_store() do { } while(0) | ||
115 | #endif | ||