From: Ralf Baechle Date: Wed, 26 Sep 2007 12:01:37 +0000 (+0100) Subject: [MIPS] IP32: Fix initialization of UART base addresses. X-Git-Tag: MMI-PSA29.97-13-9~40397^2~2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d8998737bd56e65d5e7326b515769c20dc01cb63;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git [MIPS] IP32: Fix initialization of UART base addresses. Signed-off-by: Ralf Baechle --- diff --git a/arch/mips/sgi-ip32/ip32-platform.c b/arch/mips/sgi-ip32/ip32-platform.c index ba3697ee7ff6..7309e48d163d 100644 --- a/arch/mips/sgi-ip32/ip32-platform.c +++ b/arch/mips/sgi-ip32/ip32-platform.c @@ -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); }