|
@@ -194,6 +194,7 @@ void s3c_pm_debug_smdkled(u32 set, u32 clear)
|
|
}
|
|
}
|
|
#endif
|
|
#endif
|
|
|
|
|
|
|
|
+#ifdef CONFIG_PM_SLEEP
|
|
static struct sleep_save core_save[] = {
|
|
static struct sleep_save core_save[] = {
|
|
SAVE_ITEM(S3C64XX_MEM0DRVCON),
|
|
SAVE_ITEM(S3C64XX_MEM0DRVCON),
|
|
SAVE_ITEM(S3C64XX_MEM1DRVCON),
|
|
SAVE_ITEM(S3C64XX_MEM1DRVCON),
|
|
@@ -238,6 +239,7 @@ void s3c_pm_save_core(void)
|
|
s3c_pm_do_save(misc_save, ARRAY_SIZE(misc_save));
|
|
s3c_pm_do_save(misc_save, ARRAY_SIZE(misc_save));
|
|
s3c_pm_do_save(core_save, ARRAY_SIZE(core_save));
|
|
s3c_pm_do_save(core_save, ARRAY_SIZE(core_save));
|
|
}
|
|
}
|
|
|
|
+#endif
|
|
|
|
|
|
/* since both s3c6400 and s3c6410 share the same sleep pm calls, we
|
|
/* since both s3c6400 and s3c6410 share the same sleep pm calls, we
|
|
* put the per-cpu code in here until any new cpu comes along and changes
|
|
* put the per-cpu code in here until any new cpu comes along and changes
|