X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=arch%2Farm%2Fmach-s3c2412%2Fs3c2412.c;h=57a1e01e4e504df85896d275b244782c7e6644e3;hb=18974369cfe23acf16d0fb79e0d1fba7a9a95ec0;hp=ef0958d3e5c6e1b6dda7a9586099b1ebc3da739a;hpb=cd1acdf1723d71b28175f95b04305f1cc74ce363;p=pandora-kernel.git diff --git a/arch/arm/mach-s3c2412/s3c2412.c b/arch/arm/mach-s3c2412/s3c2412.c index ef0958d3e5c6..57a1e01e4e50 100644 --- a/arch/arm/mach-s3c2412/s3c2412.c +++ b/arch/arm/mach-s3c2412/s3c2412.c @@ -245,7 +245,9 @@ int __init s3c2412_init(void) { printk("S3C2412: Initialising architecture\n"); +#ifdef CONFIG_PM register_syscore_ops(&s3c2412_pm_syscore_ops); +#endif register_syscore_ops(&s3c24xx_irq_syscore_ops); return sysdev_register(&s3c2412_sysdev);