diff options
author | Jeff Garzik <jeff@garzik.org> | 2006-09-30 23:45:41 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-09-30 23:45:41 -0400 |
commit | 1c7da74c4aab595a994beb5fe728ebf0d0b41f59 (patch) | |
tree | 64128abdf9550ebb51d8f3ee6732d7350b9c62f2 /arch/arm/mach-at91rm9200/irq.c | |
parent | aebb1153ac54ddbbd3d3f0481a193f4bf0ead53b (diff) | |
parent | 1bdfd554be94def718323659173517c5d4a69d25 (diff) |
Merge branch 'master' into upstream
Diffstat (limited to 'arch/arm/mach-at91rm9200/irq.c')
-rw-r--r-- | arch/arm/mach-at91rm9200/irq.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/arm/mach-at91rm9200/irq.c b/arch/arm/mach-at91rm9200/irq.c index c3a5e777f9f8..3e488117ca91 100644 --- a/arch/arm/mach-at91rm9200/irq.c +++ b/arch/arm/mach-at91rm9200/irq.c | |||
@@ -34,8 +34,6 @@ | |||
34 | #include <asm/mach/irq.h> | 34 | #include <asm/mach/irq.h> |
35 | #include <asm/mach/map.h> | 35 | #include <asm/mach/map.h> |
36 | 36 | ||
37 | #include "generic.h" | ||
38 | |||
39 | 37 | ||
40 | static void at91_aic_mask_irq(unsigned int irq) | 38 | static void at91_aic_mask_irq(unsigned int irq) |
41 | { | 39 | { |
@@ -61,12 +59,12 @@ static int at91_aic_set_type(unsigned irq, unsigned type) | |||
61 | srctype = AT91_AIC_SRCTYPE_RISING; | 59 | srctype = AT91_AIC_SRCTYPE_RISING; |
62 | break; | 60 | break; |
63 | case IRQT_LOW: | 61 | case IRQT_LOW: |
64 | if ((irq > AT91_ID_FIQ) && (irq < AT91_ID_IRQ0)) /* only supported on external interrupts */ | 62 | if ((irq > AT91_ID_FIQ) && (irq < AT91RM9200_ID_IRQ0)) /* only supported on external interrupts */ |
65 | return -EINVAL; | 63 | return -EINVAL; |
66 | srctype = AT91_AIC_SRCTYPE_LOW; | 64 | srctype = AT91_AIC_SRCTYPE_LOW; |
67 | break; | 65 | break; |
68 | case IRQT_FALLING: | 66 | case IRQT_FALLING: |
69 | if ((irq > AT91_ID_FIQ) && (irq < AT91_ID_IRQ0)) /* only supported on external interrupts */ | 67 | if ((irq > AT91_ID_FIQ) && (irq < AT91RM9200_ID_IRQ0)) /* only supported on external interrupts */ |
70 | return -EINVAL; | 68 | return -EINVAL; |
71 | srctype = AT91_AIC_SRCTYPE_FALLING; | 69 | srctype = AT91_AIC_SRCTYPE_FALLING; |
72 | break; | 70 | break; |