aboutsummaryrefslogtreecommitdiff
path: root/include/asm-arm/arch-mxc/mx31.h
diff options
context:
space:
mode:
authorJuergen Beisert <j.beisert@pengutronix.de>2008-07-05 10:02:54 +0200
committerRobert Schwebel <r.schwebel@pengutronix.de>2008-07-05 10:02:54 +0200
commit259bcaae9a2f28d7e3303b202b64a1fb0a9ab9e4 (patch)
tree8e86bf18877c7e430bd1994489c91701f625e9a6 /include/asm-arm/arch-mxc/mx31.h
parent9e8a30dce1bd38cf7b941c707da504d28a907f5c (diff)
MXC arch: Simplify architecture's irq sources
Simplify architecture's irq headers and sources, to share these files between MXC3 and MXC2. Signed-off-by: Juergen Beisert <j.beisert@pengutronix.de>
Diffstat (limited to 'include/asm-arm/arch-mxc/mx31.h')
-rw-r--r--include/asm-arm/arch-mxc/mx31.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-arm/arch-mxc/mx31.h b/include/asm-arm/arch-mxc/mx31.h
index 98e6a4cd1ea..a7373e4a56c 100644
--- a/include/asm-arm/arch-mxc/mx31.h
+++ b/include/asm-arm/arch-mxc/mx31.h
@@ -320,6 +320,8 @@
#define MXC_MAX_GPIO_LINES (GPIO_NUM_PIN * GPIO_PORT_NUM)
#define MXC_MAX_VIRTUAL_INTS 16
+#define NR_IRQS (MXC_MAX_INT_LINES + MXC_MAX_GPIO_LINES + MXC_MAX_VIRTUAL_INTS)
+
/*!
* Number of GPIO port as defined in the IC Spec
*/