diff options
author | Ben Dooks <ben-linux@fluff.org> | 2008-08-08 16:10:12 -0400 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2008-08-08 16:10:12 -0400 |
commit | af7a535688a758d15f06a98833e6a143b29af9de (patch) | |
tree | bac5ab210bbbbe276f0e44ed84194d7c8bb16aae /arch/arm/mach-ks8695/irq.c | |
parent | 0c17e4ceedd35c78b1c7413dbd16279a350be6bc (diff) | |
parent | c41107c2d4fd31924533f4dbc4c3428acc2b5894 (diff) |
Merge http://ftp.arm.linux.org.uk/pub/linux/arm/kernel/git-cur/linux-2.6-arm into for-rmk
Diffstat (limited to 'arch/arm/mach-ks8695/irq.c')
-rw-r--r-- | arch/arm/mach-ks8695/irq.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/arch/arm/mach-ks8695/irq.c b/arch/arm/mach-ks8695/irq.c index 4c3ab43e1046..e5e71f4dbb84 100644 --- a/arch/arm/mach-ks8695/irq.c +++ b/arch/arm/mach-ks8695/irq.c | |||
@@ -25,14 +25,14 @@ | |||
25 | #include <linux/ioport.h> | 25 | #include <linux/ioport.h> |
26 | #include <linux/sysdev.h> | 26 | #include <linux/sysdev.h> |
27 | 27 | ||
28 | #include <asm/hardware.h> | 28 | #include <mach/hardware.h> |
29 | #include <asm/irq.h> | 29 | #include <asm/irq.h> |
30 | #include <asm/io.h> | 30 | #include <asm/io.h> |
31 | 31 | ||
32 | #include <asm/mach/irq.h> | 32 | #include <asm/mach/irq.h> |
33 | 33 | ||
34 | #include <asm/arch/regs-irq.h> | 34 | #include <mach/regs-irq.h> |
35 | #include <asm/arch/regs-gpio.h> | 35 | #include <mach/regs-gpio.h> |
36 | 36 | ||
37 | static void ks8695_irq_mask(unsigned int irqno) | 37 | static void ks8695_irq_mask(unsigned int irqno) |
38 | { | 38 | { |
@@ -72,21 +72,21 @@ static int ks8695_irq_set_type(unsigned int irqno, unsigned int type) | |||
72 | ctrl = __raw_readl(KS8695_GPIO_VA + KS8695_IOPC); | 72 | ctrl = __raw_readl(KS8695_GPIO_VA + KS8695_IOPC); |
73 | 73 | ||
74 | switch (type) { | 74 | switch (type) { |
75 | case IRQT_HIGH: | 75 | case IRQ_TYPE_LEVEL_HIGH: |
76 | mode = IOPC_TM_HIGH; | 76 | mode = IOPC_TM_HIGH; |
77 | level_triggered = 1; | 77 | level_triggered = 1; |
78 | break; | 78 | break; |
79 | case IRQT_LOW: | 79 | case IRQ_TYPE_LEVEL_LOW: |
80 | mode = IOPC_TM_LOW; | 80 | mode = IOPC_TM_LOW; |
81 | level_triggered = 1; | 81 | level_triggered = 1; |
82 | break; | 82 | break; |
83 | case IRQT_RISING: | 83 | case IRQ_TYPE_EDGE_RISING: |
84 | mode = IOPC_TM_RISING; | 84 | mode = IOPC_TM_RISING; |
85 | break; | 85 | break; |
86 | case IRQT_FALLING: | 86 | case IRQ_TYPE_EDGE_FALLING: |
87 | mode = IOPC_TM_FALLING; | 87 | mode = IOPC_TM_FALLING; |
88 | break; | 88 | break; |
89 | case IRQT_BOTHEDGE: | 89 | case IRQ_TYPE_EDGE_BOTH: |
90 | mode = IOPC_TM_EDGE; | 90 | mode = IOPC_TM_EDGE; |
91 | break; | 91 | break; |
92 | default: | 92 | default: |