ARM: S3C24XX: fix building without PM_SLEEP
[deliverable/linux.git] / arch / arm / mach-s3c24xx / pm-s3c2416.c
index 44923895f558633251adc07ce589cfbcb8d86480..c0e328e37bd63927fd48b6cc415fef6bc86bdd44 100644 (file)
@@ -23,6 +23,7 @@
 
 #include "s3c2412-power.h"
 
+#ifdef CONFIG_PM_SLEEP
 extern void s3c2412_sleep_enter(void);
 
 static int s3c2416_cpu_suspend(unsigned long arg)
@@ -70,7 +71,7 @@ static __init int s3c2416_pm_init(void)
 }
 
 arch_initcall(s3c2416_pm_init);
-
+#endif
 
 static void s3c2416_pm_resume(void)
 {
This page took 0.023994 seconds and 5 git commands to generate.