Pull asus into release branch
[pandora-kernel.git] / arch / arm / mach-s3c2410 / mach-h1940.c
index 01c60d0..d052ab2 100644 (file)
@@ -202,7 +202,9 @@ static void __init h1940_map_io(void)
 
        /* setup PM */
 
+#ifdef CONFIG_PM_H1940
        memcpy(phys_to_virt(H1940_SUSPEND_RESUMEAT), h1940_pm_return, 1024);
+#endif
        s3c2410_pm_init();
 }