diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-07-28 15:14:43 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-28 15:14:43 -0400 |
commit | 414f746d232d41ed6ae8632c4495ae795373c44b (patch) | |
tree | 167f9bc8f139c6e82e6732b38c7a938b8a9d31cd /arch/arm/mach-sa1100/irq.c | |
parent | 5a7a201c51c324876d00a54e7208af6af12d1ca4 (diff) | |
parent | c9272c4f9fbe2087beb3392f526dc5b19efaa56b (diff) |
Merge branch 'linus' into cpus4096
Diffstat (limited to 'arch/arm/mach-sa1100/irq.c')
-rw-r--r-- | arch/arm/mach-sa1100/irq.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/mach-sa1100/irq.c b/arch/arm/mach-sa1100/irq.c index fa0403af7eec..c5e438b12ec7 100644 --- a/arch/arm/mach-sa1100/irq.c +++ b/arch/arm/mach-sa1100/irq.c | |||
@@ -46,17 +46,17 @@ static int sa1100_gpio_type(unsigned int irq, unsigned int type) | |||
46 | else | 46 | else |
47 | mask = GPIO11_27_MASK(irq); | 47 | mask = GPIO11_27_MASK(irq); |
48 | 48 | ||
49 | if (type == IRQT_PROBE) { | 49 | if (type == IRQ_TYPE_PROBE) { |
50 | if ((GPIO_IRQ_rising_edge | GPIO_IRQ_falling_edge) & mask) | 50 | if ((GPIO_IRQ_rising_edge | GPIO_IRQ_falling_edge) & mask) |
51 | return 0; | 51 | return 0; |
52 | type = __IRQT_RISEDGE | __IRQT_FALEDGE; | 52 | type = IRQ_TYPE_EDGE_RISING | IRQ_TYPE_EDGE_FALLING; |
53 | } | 53 | } |
54 | 54 | ||
55 | if (type & __IRQT_RISEDGE) { | 55 | if (type & IRQ_TYPE_EDGE_RISING) { |
56 | GPIO_IRQ_rising_edge |= mask; | 56 | GPIO_IRQ_rising_edge |= mask; |
57 | } else | 57 | } else |
58 | GPIO_IRQ_rising_edge &= ~mask; | 58 | GPIO_IRQ_rising_edge &= ~mask; |
59 | if (type & __IRQT_FALEDGE) { | 59 | if (type & IRQ_TYPE_EDGE_FALLING) { |
60 | GPIO_IRQ_falling_edge |= mask; | 60 | GPIO_IRQ_falling_edge |= mask; |
61 | } else | 61 | } else |
62 | GPIO_IRQ_falling_edge &= ~mask; | 62 | GPIO_IRQ_falling_edge &= ~mask; |