sh: Fix mistake of the member variable of plat_sci_port for SH7343
authorNobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
Tue, 15 May 2012 01:26:11 +0000 (10:26 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Thu, 17 May 2012 07:45:40 +0000 (16:45 +0900)
The current code was going to initialize irq of plat_sci_port.
Not irq, irqs is right.

Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/cpu/sh4a/setup-sh7343.c

index 476f474..5773643 100644 (file)
@@ -56,7 +56,7 @@ static struct plat_sci_port scif2_platform_data = {
        .scscr          = SCSCR_RE | SCSCR_TE | SCSCR_CKE1,
        .scbrr_algo_id  = SCBRR_ALGO_2,
        .type           = PORT_SCIF,
-       .irq            = SCIx_IRQ_MUXED(evt2irq(0xC40)),
+       .irqs           = SCIx_IRQ_MUXED(evt2irq(0xC40)),
 };
 
 static struct platform_device scif2_device = {