--- zzzz-none-000/linux-3.10.107/arch/arm/mach-s3c24xx/s3c2440.c 2017-06-27 09:49:32.000000000 +0000 +++ scorpion-7490-727/linux-3.10.107/arch/arm/mach-s3c24xx/s3c2440.c 2021-02-04 17:41:59.000000000 +0000 @@ -29,6 +29,7 @@ #include #include +#include #include #include @@ -56,11 +57,11 @@ /* register suspend/resume handlers */ -#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 /* register our system device for everything else */