summaryrefslogtreecommitdiff
path: root/arch/arm/mach-s3c24xx/s3c2442.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-s3c24xx/s3c2442.c')
-rw-r--r--arch/arm/mach-s3c24xx/s3c2442.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-s3c24xx/s3c2442.c b/arch/arm/mach-s3c24xx/s3c2442.c
index 7b043349f1c8..893998ede022 100644
--- a/arch/arm/mach-s3c24xx/s3c2442.c
+++ b/arch/arm/mach-s3c24xx/s3c2442.c
@@ -60,11 +60,11 @@ int __init s3c2442_init(void)
{
printk("S3C2442: Initialising architecture\n");
-#ifdef CONFIG_PM
+#ifdef CONFIG_PM_SLEEP
register_syscore_ops(&s3c2410_pm_syscore_ops);
register_syscore_ops(&s3c24xx_irq_syscore_ops);
-#endif
register_syscore_ops(&s3c244x_pm_syscore_ops);
+#endif
return device_register(&s3c2442_dev);
}