diff options
Diffstat (limited to 'include/asm-avr32/arch-at32ap/irq.h')
-rw-r--r-- | include/asm-avr32/arch-at32ap/irq.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-avr32/arch-at32ap/irq.h b/include/asm-avr32/arch-at32ap/irq.h index 5adffab9a577..608e350368c7 100644 --- a/include/asm-avr32/arch-at32ap/irq.h +++ b/include/asm-avr32/arch-at32ap/irq.h | |||
@@ -3,11 +3,11 @@ | |||
3 | 3 | ||
4 | #define EIM_IRQ_BASE NR_INTERNAL_IRQS | 4 | #define EIM_IRQ_BASE NR_INTERNAL_IRQS |
5 | #define NR_EIM_IRQS 32 | 5 | #define NR_EIM_IRQS 32 |
6 | |||
7 | #define AT32_EXTINT(n) (EIM_IRQ_BASE + (n)) | 6 | #define AT32_EXTINT(n) (EIM_IRQ_BASE + (n)) |
8 | 7 | ||
9 | #define GPIO_IRQ_BASE (EIM_IRQ_BASE + NR_EIM_IRQS) | 8 | #define GPIO_IRQ_BASE (EIM_IRQ_BASE + NR_EIM_IRQS) |
10 | #define NR_GPIO_IRQS (5 * 32) | 9 | #define NR_GPIO_CTLR (5 /*internal*/ + 1 /*external*/) |
10 | #define NR_GPIO_IRQS (NR_GPIO_CTLR * 32) | ||
11 | 11 | ||
12 | #define NR_IRQS (GPIO_IRQ_BASE + NR_GPIO_IRQS) | 12 | #define NR_IRQS (GPIO_IRQ_BASE + NR_GPIO_IRQS) |
13 | 13 | ||