summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mmp/ttc_dkb.c
diff options
context:
space:
mode:
authorHaojian Zhuang <haojian.zhuang@gmail.com>2010-09-08 09:42:42 -0400
committerEric Miao <eric.y.miao@gmail.com>2010-10-09 17:07:25 +0800
commit0bd8696119904b5868c7315b644128b16ab06f59 (patch)
tree0f3525f994b85f8d678656d74072cd23560483c8 /arch/arm/mach-mmp/ttc_dkb.c
parent20266df55db7dcb70b3f527a55f4eb5a4d7092e2 (diff)
downloadblackbird-op-linux-0bd8696119904b5868c7315b644128b16ab06f59.tar.gz
blackbird-op-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.c4
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,
OpenPOWER on IntegriCloud