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/cm-x2xx.c | |
parent | 1b43d8eda71bc953c9005afd63952e0666169553 (diff) | |
download | kernel_samsung_smdk4412-6ac6b817f3f4c23c5febd960d8deb343e13af5f3.zip kernel_samsung_smdk4412-6ac6b817f3f4c23c5febd960d8deb343e13af5f3.tar.gz kernel_samsung_smdk4412-6ac6b817f3f4c23c5febd960d8deb343e13af5f3.tar.bz2 |
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/cm-x2xx.c')
-rw-r--r-- | arch/arm/mach-pxa/cm-x2xx.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/cm-x2xx.c b/arch/arm/mach-pxa/cm-x2xx.c index bff6e78..ad40e7b 100644 --- a/arch/arm/mach-pxa/cm-x2xx.c +++ b/arch/arm/mach-pxa/cm-x2xx.c @@ -33,6 +33,9 @@ extern void cmx255_init(void); extern void cmx270_init(void); +/* reserve IRQs for IT8152 */ +#define CMX2XX_NR_IRQS (IRQ_BOARD_START + 40) + /* virtual addresses for statically mapped regions */ #define CMX2XX_VIRT_BASE (0xe8000000) #define CMX2XX_IT8152_VIRT (CMX2XX_VIRT_BASE) @@ -514,6 +517,7 @@ MACHINE_START(ARMCORE, "Compulab CM-X2XX") .phys_io = 0x40000000, .io_pg_offst = (io_p2v(0x40000000) >> 18) & 0xfffc, .map_io = cmx2xx_map_io, + .nr_irqs = CMX2XX_NR_IRQS, .init_irq = cmx2xx_init_irq, .timer = &pxa_timer, .init_machine = cmx2xx_init, |