[MIPS] IP32: Fix address of 2nd serial interface.
authorRalf Baechle <ralf@linux-mips.org>
Wed, 31 Oct 2007 13:10:00 +0000 (13:10 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 2 Nov 2007 16:13:46 +0000 (16:13 +0000)
Found by Giuseppe Sacco <giuseppe@eppesuigoccas.homedns.org>.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/sgi-ip32/ip32-platform.c

index 7309e48d163d1535facc87aef51ee4608ed3f3fc..77febd68fcd47ec0ea6b5bcd7876b62fe283121e 100644 (file)
@@ -42,7 +42,7 @@ static struct platform_device uart8250_device = {
 static int __init uart8250_init(void)
 {
        uart8250_data[0].membase = (void __iomem *) &mace->isa.serial1;
-       uart8250_data[1].membase = (void __iomem *) &mace->isa.serial1;
+       uart8250_data[1].membase = (void __iomem *) &mace->isa.serial2;
 
        return platform_device_register(&uart8250_device);
 }
This page took 0.027197 seconds and 5 git commands to generate.