summaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-s3c24xx/include/plat
diff options
context:
space:
mode:
authorBen Dooks <ben-linux@fluff.org>2008-12-12 00:24:10 +0000
committerBen Dooks <ben-linux@fluff.org>2009-03-08 12:35:25 +0000
commit65fa22b73f95c481db125ba9a34de1553c638548 (patch)
tree2066f32f59ccb15f8b28037108789671276a134d /arch/arm/plat-s3c24xx/include/plat
parent840eeeb880e03927588e0e971cb426441795ff14 (diff)
[ARM] S3C24XX: Split PM code from arch/arm/plat-s3c24xx/irq.c
Split the PM code out of arch/arm/plat-s3c24xx/irq.c to remove some of the #ifdefs being used. Also fix a couple of places where the absecnce of a function was redefined to the same thing. Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'arch/arm/plat-s3c24xx/include/plat')
-rw-r--r--arch/arm/plat-s3c24xx/include/plat/irq.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/plat-s3c24xx/include/plat/irq.h b/arch/arm/plat-s3c24xx/include/plat/irq.h
index 45746a99534..97b6884ea0d 100644
--- a/arch/arm/plat-s3c24xx/include/plat/irq.h
+++ b/arch/arm/plat-s3c24xx/include/plat/irq.h
@@ -10,6 +10,12 @@
* published by the Free Software Foundation.
*/
+#include <linux/io.h>
+
+#include <mach/hardware.h>
+#include <mach/regs-irq.h>
+#include <mach/regs-gpio.h>
+
#define irqdbf(x...)
#define irqdbf2(x...)
@@ -102,7 +108,9 @@ s3c_irqsub_ack(unsigned int irqno, unsigned int parentmask, unsigned int group)
#ifdef CONFIG_PM
extern int s3c_irq_wake(unsigned int irqno, unsigned int state);
+extern int s3c_irqext_wake(unsigned int irqno, unsigned int state);
#else
+#define s3c_irqext_wake NULL
#define s3c_irq_wake NULL
#endif