diff options
author | Heiko Stuebner <heiko@sntech.de> | 2011-06-02 14:57:41 +0400 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2011-06-04 05:36:52 +0400 |
commit | de11c5852811665e581ef0b915bb478f38b92fb1 (patch) | |
tree | 8bede5f9fa3d72e1724ba2100bc6e8e43c4d3dbf /arch/arm/plat-s3c24xx | |
parent | e4698188444a639ac9a3cfb3e06006dd1d4e7fcc (diff) | |
download | linux-de11c5852811665e581ef0b915bb478f38b92fb1.tar.xz |
ARM: S3C24XX: Move s3c24xx_irq_syscore_ops to plat-s3c24xx/irq.c
s3c24xx_irq_syscore_ops was only defined for s3c2410 cpus leading
to compile errors on for example 2412 and 2416.
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/plat-s3c24xx')
-rw-r--r-- | arch/arm/plat-s3c24xx/irq.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/plat-s3c24xx/irq.c b/arch/arm/plat-s3c24xx/irq.c index 9aee7e1668b1..fc8c5f89954d 100644 --- a/arch/arm/plat-s3c24xx/irq.c +++ b/arch/arm/plat-s3c24xx/irq.c @@ -23,6 +23,7 @@ #include <linux/interrupt.h> #include <linux/ioport.h> #include <linux/sysdev.h> +#include <linux/syscore_ops.h> #include <asm/irq.h> #include <asm/mach/irq.h> @@ -668,3 +669,8 @@ void __init s3c24xx_init_irq(void) irqdbf("s3c2410: registered interrupt handlers\n"); } + +struct syscore_ops s3c24xx_irq_syscore_ops = { + .suspend = s3c24xx_irq_suspend, + .resume = s3c24xx_irq_resume, +}; |