diff options
author | Haojian Zhuang <haojian.zhuang@marvell.com> | 2010-08-20 15:23:59 +0800 |
---|---|---|
committer | Eric Miao <eric.y.miao@gmail.com> | 2010-10-08 16:21:17 +0800 |
commit | 6ac6b817f3f4c23c5febd960d8deb343e13af5f3 (patch) | |
tree | 9d5642b9699e3d0dd8bcc2a1483a8ff3c31e4cf4 /arch/arm/mach-pxa/stargate2.c | |
parent | 1b43d8eda71bc953c9005afd63952e0666169553 (diff) | |
download | op-kernel-dev-6ac6b817f3f4c23c5febd960d8deb343e13af5f3.zip op-kernel-dev-6ac6b817f3f4c23c5febd960d8deb343e13af5f3.tar.gz |
ARM: pxa: encode IRQ number into .nr_irqs
Signed-off-by: Haojian Zhuang <haojian.zhuang@marvell.com>
Acked-by: Antonio Ospite <ospite@studenti.unina.it>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
Diffstat (limited to 'arch/arm/mach-pxa/stargate2.c')
-rw-r--r-- | arch/arm/mach-pxa/stargate2.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/stargate2.c b/arch/arm/mach-pxa/stargate2.c index a654d1e..62de073 100644 --- a/arch/arm/mach-pxa/stargate2.c +++ b/arch/arm/mach-pxa/stargate2.c @@ -56,6 +56,8 @@ #include "devices.h" #include "generic.h" +#define STARGATE_NR_IRQS (IRQ_BOARD_START + 8) + /* Bluetooth */ #define SG2_BT_RESET 81 @@ -1011,6 +1013,7 @@ MACHINE_START(STARGATE2, "Stargate 2") .phys_io = 0x40000000, .io_pg_offst = (io_p2v(0x40000000) >> 18) & 0xfffc, .map_io = pxa_map_io, + .nr_irqs = STARGATE_NR_IRQS, .init_irq = pxa27x_init_irq, .timer = &pxa_timer, .init_machine = stargate2_init, |