From: Magnus Damm Date: Thu, 4 Dec 2008 09:00:02 +0000 (+0900) Subject: sh: fix number of interrupts on se7343 X-Git-Tag: v2.6.29-rc1~591^2~80 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=5727003b5d23eb852c057d25459bba27cbf754c3;p=linux-2.6-omap-h63xx.git sh: fix number of interrupts on se7343 Fix to make sure that the on-board interrupt sources are included in the interrupt count on se7343. Signed-off-by: Magnus Damm Signed-off-by: Paul Mundt --- diff --git a/arch/sh/boards/mach-se/7343/setup.c b/arch/sh/boards/mach-se/7343/setup.c index 486f40bf927..9308660cff5 100644 --- a/arch/sh/boards/mach-se/7343/setup.c +++ b/arch/sh/boards/mach-se/7343/setup.c @@ -126,7 +126,7 @@ static void __init sh7343se_setup(char **cmdline_p) static struct sh_machine_vector mv_7343se __initmv = { .mv_name = "SolutionEngine 7343", .mv_setup = sh7343se_setup, - .mv_nr_irqs = 108, + .mv_nr_irqs = SE7343_FPGA_IRQ_BASE + SE7343_FPGA_IRQ_NR, .mv_inb = sh7343se_inb, .mv_inw = sh7343se_inw, .mv_inl = sh7343se_inl,