]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
sh: fix number of interrupts on se7343
authorMagnus Damm <damm@igel.co.jp>
Thu, 4 Dec 2008 09:00:02 +0000 (18:00 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 22 Dec 2008 09:43:51 +0000 (18:43 +0900)
Fix to make sure that the on-board interrupt sources are included
in the interrupt count on se7343.

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/boards/mach-se/7343/setup.c

index 486f40bf9274af768a169e5a38b035779c2b6336..9308660cff59fa88a222d7fe2ecbb2659030d92d 100644 (file)
@@ -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,