[MIPS] IP32: Fix initialization of UART base addresses.
authorRalf Baechle <ralf@linux-mips.org>
Wed, 26 Sep 2007 12:01:37 +0000 (13:01 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 28 Sep 2007 18:27:20 +0000 (19:27 +0100)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/sgi-ip32/ip32-platform.c

index ba3697e..7309e48 100644 (file)
@@ -41,8 +41,8 @@ static struct platform_device uart8250_device = {
 
 static int __init uart8250_init(void)
 {
-       uart8250_data[0].iobase = (unsigned long) &mace->isa.serial1;
-       uart8250_data[1].iobase = (unsigned long) &mace->isa.serial1;
+       uart8250_data[0].membase = (void __iomem *) &mace->isa.serial1;
+       uart8250_data[1].membase = (void __iomem *) &mace->isa.serial1;
 
        return platform_device_register(&uart8250_device);
 }