diff options
Diffstat (limited to 'include/asm-arm/arch-mxc/irqs.h')
-rw-r--r-- | include/asm-arm/arch-mxc/irqs.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/asm-arm/arch-mxc/irqs.h b/include/asm-arm/arch-mxc/irqs.h index a64e66ba4ae4..b2c5205e1962 100644 --- a/include/asm-arm/arch-mxc/irqs.h +++ b/include/asm-arm/arch-mxc/irqs.h | |||
@@ -19,7 +19,9 @@ | |||
19 | #define MXC_GPIO_TO_IRQ(x) (MXC_GPIO_INT_BASE + x) | 19 | #define MXC_GPIO_TO_IRQ(x) (MXC_GPIO_INT_BASE + x) |
20 | 20 | ||
21 | /* Number of normal interrupts */ | 21 | /* Number of normal interrupts */ |
22 | #define NR_IRQS MXC_MAX_INTS | 22 | #define NR_IRQS (MXC_MAX_INT_LINES + \ |
23 | MXC_MAX_GPIO_LINES + \ | ||
24 | MXC_MAX_VIRTUAL_INTS) | ||
23 | 25 | ||
24 | /* Number of fast interrupts */ | 26 | /* Number of fast interrupts */ |
25 | #define NR_FIQS MXC_MAX_INTS | 27 | #define NR_FIQS MXC_MAX_INTS |