aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-s3c24xx/include/plat/irq.h
diff options
context:
space:
mode:
authorBen Dooks <ben-linux@fluff.org>2008-12-11 19:24:10 -0500
committerBen Dooks <ben-linux@fluff.org>2009-03-08 08:35:25 -0400
commit65fa22b73f95c481db125ba9a34de1553c638548 (patch)
tree2066f32f59ccb15f8b28037108789671276a134d /arch/arm/plat-s3c24xx/include/plat/irq.h
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/irq.h')
-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 @@
10 * published by the Free Software Foundation. 10 * published by the Free Software Foundation.
11*/ 11*/
12 12
13#include <linux/io.h>
14
15#include <mach/hardware.h>
16#include <mach/regs-irq.h>
17#include <mach/regs-gpio.h>
18
13#define irqdbf(x...) 19#define irqdbf(x...)
14#define irqdbf2(x...) 20#define irqdbf2(x...)
15 21
@@ -102,7 +108,9 @@ s3c_irqsub_ack(unsigned int irqno, unsigned int parentmask, unsigned int group)
102 108
103#ifdef CONFIG_PM 109#ifdef CONFIG_PM
104extern int s3c_irq_wake(unsigned int irqno, unsigned int state); 110extern int s3c_irq_wake(unsigned int irqno, unsigned int state);
111extern int s3c_irqext_wake(unsigned int irqno, unsigned int state);
105#else 112#else
113#define s3c_irqext_wake NULL
106#define s3c_irq_wake NULL 114#define s3c_irq_wake NULL
107#endif 115#endif
108 116