aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s3c24xx/s3c244x.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-s3c24xx/s3c244x.c')
-rw-r--r--arch/arm/mach-s3c24xx/s3c244x.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/arch/arm/mach-s3c24xx/s3c244x.c b/arch/arm/mach-s3c24xx/s3c244x.c
index 177f97802745..b14119585dc7 100644
--- a/arch/arm/mach-s3c24xx/s3c244x.c
+++ b/arch/arm/mach-s3c24xx/s3c244x.c
@@ -108,7 +108,7 @@ static int __init s3c2442_core_init(void)
108core_initcall(s3c2442_core_init); 108core_initcall(s3c2442_core_init);
109 109
110 110
111#ifdef CONFIG_PM 111#ifdef CONFIG_PM_SLEEP
112static struct sleep_save s3c244x_sleep[] = { 112static struct sleep_save s3c244x_sleep[] = {
113 SAVE_ITEM(S3C2440_DSC0), 113 SAVE_ITEM(S3C2440_DSC0),
114 SAVE_ITEM(S3C2440_DSC1), 114 SAVE_ITEM(S3C2440_DSC1),
@@ -127,12 +127,9 @@ static void s3c244x_resume(void)
127{ 127{
128 s3c_pm_do_restore(s3c244x_sleep, ARRAY_SIZE(s3c244x_sleep)); 128 s3c_pm_do_restore(s3c244x_sleep, ARRAY_SIZE(s3c244x_sleep));
129} 129}
130#else
131#define s3c244x_suspend NULL
132#define s3c244x_resume NULL
133#endif
134 130
135struct syscore_ops s3c244x_pm_syscore_ops = { 131struct syscore_ops s3c244x_pm_syscore_ops = {
136 .suspend = s3c244x_suspend, 132 .suspend = s3c244x_suspend,
137 .resume = s3c244x_resume, 133 .resume = s3c244x_resume,
138}; 134};
135#endif