diff options
author | Heiko Stuebner <heiko@sntech.de> | 2013-01-29 13:25:22 -0500 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2013-02-03 18:52:39 -0500 |
commit | d8fdec168542971f6ffbf0883c8be2e9bbb22ca6 (patch) | |
tree | 93220f10f43ce2ab28ace67e3628554f0e07661f /arch/arm/mach-s3c24xx/s3c2440.c | |
parent | 1f629b7a3ced8e73784a9ae3b0d9039496878f18 (diff) |
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/s3c2440.c')
-rw-r--r-- | arch/arm/mach-s3c24xx/s3c2440.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/mach-s3c24xx/s3c2440.c b/arch/arm/mach-s3c24xx/s3c2440.c index 2b3dddb49af7..559e394e8989 100644 --- a/arch/arm/mach-s3c24xx/s3c2440.c +++ b/arch/arm/mach-s3c24xx/s3c2440.c | |||
@@ -40,6 +40,8 @@ | |||
40 | #include <plat/gpio-cfg.h> | 40 | #include <plat/gpio-cfg.h> |
41 | #include <plat/gpio-cfg-helpers.h> | 41 | #include <plat/gpio-cfg-helpers.h> |
42 | 42 | ||
43 | #include "common.h" | ||
44 | |||
43 | static struct device s3c2440_dev = { | 45 | static struct device s3c2440_dev = { |
44 | .bus = &s3c2440_subsys, | 46 | .bus = &s3c2440_subsys, |
45 | }; | 47 | }; |
@@ -57,9 +59,9 @@ int __init s3c2440_init(void) | |||
57 | 59 | ||
58 | #ifdef CONFIG_PM | 60 | #ifdef CONFIG_PM |
59 | register_syscore_ops(&s3c2410_pm_syscore_ops); | 61 | register_syscore_ops(&s3c2410_pm_syscore_ops); |
62 | register_syscore_ops(&s3c24xx_irq_syscore_ops); | ||
60 | #endif | 63 | #endif |
61 | register_syscore_ops(&s3c244x_pm_syscore_ops); | 64 | register_syscore_ops(&s3c244x_pm_syscore_ops); |
62 | register_syscore_ops(&s3c24xx_irq_syscore_ops); | ||
63 | 65 | ||
64 | /* register our system device for everything else */ | 66 | /* register our system device for everything else */ |
65 | 67 | ||