summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s3c24xx/s3c2416.c
diff options
context:
space:
mode:
authorHeiko Stuebner <heiko@sntech.de>2013-01-29 19:25:22 +0100
committerKukjin Kim <kgene.kim@samsung.com>2013-02-04 00:52:39 +0100
commitd8fdec168542971f6ffbf0883c8be2e9bbb22ca6 (patch)
tree93220f10f43ce2ab28ace67e3628554f0e07661f /arch/arm/mach-s3c24xx/s3c2416.c
parentARM: S3C24XX: transform irq handling into a declarative form (diff)
downloadlinux-d8fdec168542971f6ffbf0883c8be2e9bbb22ca6.tar.xz
linux-d8fdec168542971f6ffbf0883c8be2e9bbb22ca6.zip
ARM: S3C24XX: Move irq syscore-ops to irq-pm
With this the definition of s3c24xx_irq_syscore_ops can also move to common.h from plat/pm.h and the definitions of s3c24xx_irq_suspend and s3c24xx_irq_resume are also not necessary anymore in plat/pm.h Signed-off-by: Heiko Stuebner <heiko@sntech.de> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-s3c24xx/s3c2416.c')
-rw-r--r--arch/arm/mach-s3c24xx/s3c2416.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/mach-s3c24xx/s3c2416.c b/arch/arm/mach-s3c24xx/s3c2416.c
index 77ee0b732237..e30476db0295 100644
--- a/arch/arm/mach-s3c24xx/s3c2416.c
+++ b/arch/arm/mach-s3c24xx/s3c2416.c
@@ -63,6 +63,8 @@
#include <plat/rtc-core.h>
#include <plat/spi-core.h>
+#include "common.h"
+
static struct map_desc s3c2416_iodesc[] __initdata = {
IODESC_ENT(WATCHDOG),
IODESC_ENT(CLKPWR),
@@ -105,9 +107,9 @@ int __init s3c2416_init(void)
#ifdef CONFIG_PM
register_syscore_ops(&s3c2416_pm_syscore_ops);
-#endif
register_syscore_ops(&s3c24xx_irq_syscore_ops);
register_syscore_ops(&s3c2416_irq_syscore_ops);
+#endif
return device_register(&s3c2416_dev);
}