]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[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>
Thu, 27 Sep 2007 22:19:16 +0000 (23:19 +0100)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/sgi-ip32/ip32-platform.c

index ba3697ee7ff65ecc70bf15f30653fa54a5cc63b9..7309e48d163d1535facc87aef51ee4608ed3f3fc 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);
 }