diff options
author | Haojian Zhuang <haojian.zhuang@gmail.com> | 2010-09-08 09:42:42 -0400 |
---|---|---|
committer | Eric Miao <eric.y.miao@gmail.com> | 2010-10-09 17:07:25 +0800 |
commit | 0bd8696119904b5868c7315b644128b16ab06f59 (patch) | |
tree | 0f3525f994b85f8d678656d74072cd23560483c8 /arch/arm/mach-mmp/jasper.c | |
parent | 20266df55db7dcb70b3f527a55f4eb5a4d7092e2 (diff) | |
download | kernel_samsung_crespo-0bd8696119904b5868c7315b644128b16ab06f59.zip kernel_samsung_crespo-0bd8696119904b5868c7315b644128b16ab06f59.tar.gz kernel_samsung_crespo-0bd8696119904b5868c7315b644128b16ab06f59.tar.bz2 |
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/jasper.c')
-rw-r--r-- | arch/arm/mach-mmp/jasper.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/arm/mach-mmp/jasper.c b/arch/arm/mach-mmp/jasper.c index 80c3e7a..940ee03 100644 --- a/arch/arm/mach-mmp/jasper.c +++ b/arch/arm/mach-mmp/jasper.c @@ -18,16 +18,18 @@ #include <linux/regulator/machine.h> #include <linux/regulator/max8649.h> #include <linux/mfd/max8925.h> +#include <linux/interrupt.h> #include <asm/mach-types.h> #include <asm/mach/arch.h> #include <mach/addr-map.h> #include <mach/mfp-mmp2.h> #include <mach/mmp2.h> -#include <mach/irqs.h> #include "common.h" +#define JASPER_NR_IRQS (IRQ_BOARD_START + 48) + static unsigned long jasper_pin_config[] __initdata = { /* UART1 */ GPIO29_UART1_RXD, @@ -137,6 +139,7 @@ MACHINE_START(MARVELL_JASPER, "Jasper Development Platform") .phys_io = APB_PHYS_BASE, .io_pg_offst = (APB_VIRT_BASE >> 18) & 0xfffc, .map_io = mmp_map_io, + .nr_irqs = JASPER_NR_IRQS, .init_irq = mmp2_init_irq, .timer = &mmp2_timer, .init_machine = jasper_init, |