diff options
author | Haojian Zhuang <haojian.zhuang@gmail.com> | 2010-09-08 15:42:42 +0200 |
---|---|---|
committer | Eric Miao <eric.y.miao@gmail.com> | 2010-10-09 11:07:25 +0200 |
commit | 0bd8696119904b5868c7315b644128b16ab06f59 (patch) | |
tree | 0f3525f994b85f8d678656d74072cd23560483c8 /arch/arm/mach-mmp/ttc_dkb.c | |
parent | ARM: pxa: append tavorevb3 support (diff) | |
download | linux-0bd8696119904b5868c7315b644128b16ab06f59.tar.xz linux-0bd8696119904b5868c7315b644128b16ab06f59.zip |
ARM: mmp: support sparse irq
Add sparse IRQ support in ARCH_MMP.
Signed-off-by: Haojian Zhuang <haojian.zhuang@marvell.com>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
Diffstat (limited to 'arch/arm/mach-mmp/ttc_dkb.c')
-rw-r--r-- | arch/arm/mach-mmp/ttc_dkb.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-mmp/ttc_dkb.c b/arch/arm/mach-mmp/ttc_dkb.c index ee65e05f0cf1..54571139dc4b 100644 --- a/arch/arm/mach-mmp/ttc_dkb.c +++ b/arch/arm/mach-mmp/ttc_dkb.c @@ -14,6 +14,7 @@ #include <linux/mtd/mtd.h> #include <linux/mtd/partitions.h> #include <linux/mtd/onenand.h> +#include <linux/interrupt.h> #include <asm/mach-types.h> #include <asm/mach/arch.h> @@ -24,6 +25,8 @@ #include "common.h" +#define TTCDKB_NR_IRQS (IRQ_BOARD_START + 24) + static unsigned long ttc_dkb_pin_config[] __initdata = { /* UART2 */ GPIO47_UART2_RXD, @@ -125,6 +128,7 @@ MACHINE_START(TTC_DKB, "PXA910-based TTC_DKB Development Platform") .phys_io = APB_PHYS_BASE, .io_pg_offst = (APB_VIRT_BASE >> 18) & 0xfffc, .map_io = mmp_map_io, + .nr_irqs = TTCDKB_NR_IRQS, .init_irq = pxa910_init_irq, .timer = &pxa910_timer, .init_machine = ttc_dkb_init, |