summaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-s3c64xx/irq-eint.c
diff options
context:
space:
mode:
authorBen Dooks <ben-linux@fluff.org>2009-03-10 18:19:35 +0000
committerBen Dooks <ben-linux@fluff.org>2009-05-07 11:04:55 +0100
commitbd117bd161ea99826494983aef8c8e236ac129bd (patch)
tree76929c5f9eb611b7428a69375b2e6ddf09638821 /arch/arm/plat-s3c64xx/irq-eint.c
parent4b637dc231a96a151ea70c27d86b35c7891e2a7c (diff)
downloadblackbird-op-linux-bd117bd161ea99826494983aef8c8e236ac129bd.tar.gz
blackbird-op-linux-bd117bd161ea99826494983aef8c8e236ac129bd.zip
[ARM] S3C64XX: Initial support for PM (suspend to RAM)
Add the initial support for the S3C64XX based systems to use suspend-to-RAM to sleep. Includes basic debugging for use with the SMDK6410 usign the LEDs on the baseboard. Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'arch/arm/plat-s3c64xx/irq-eint.c')
-rw-r--r--arch/arm/plat-s3c64xx/irq-eint.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/plat-s3c64xx/irq-eint.c b/arch/arm/plat-s3c64xx/irq-eint.c
index 47e5155bb13e..f81b7b818ba0 100644
--- a/arch/arm/plat-s3c64xx/irq-eint.c
+++ b/arch/arm/plat-s3c64xx/irq-eint.c
@@ -14,6 +14,7 @@
#include <linux/kernel.h>
#include <linux/interrupt.h>
+#include <linux/sysdev.h>
#include <linux/gpio.h>
#include <linux/irq.h>
#include <linux/io.h>
@@ -26,6 +27,7 @@
#include <mach/map.h>
#include <plat/cpu.h>
+#include <plat/pm.h>
#define eint_offset(irq) ((irq) - IRQ_EINT(0))
#define eint_irq_to_bit(irq) (1 << eint_offset(irq))
@@ -134,6 +136,7 @@ static struct irq_chip s3c_irq_eint = {
.mask_ack = s3c_irq_eint_maskack,
.ack = s3c_irq_eint_ack,
.set_type = s3c_irq_eint_set_type,
+ .set_wake = s3c_irqext_wake,
};
/* s3c_irq_demux_eint
OpenPOWER on IntegriCloud