Commit 6e351064 authored by Ralf Baechle's avatar Ralf Baechle

[MIPS] IP32: Fix initialization of UART base addresses.

Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent ff0ce684
...@@ -41,8 +41,8 @@ static struct platform_device uart8250_device = { ...@@ -41,8 +41,8 @@ static struct platform_device uart8250_device = {
static int __init uart8250_init(void) static int __init uart8250_init(void)
{ {
uart8250_data[0].iobase = (unsigned long) &mace->isa.serial1; uart8250_data[0].membase = (void __iomem *) &mace->isa.serial1;
uart8250_data[1].iobase = (unsigned long) &mace->isa.serial1; uart8250_data[1].membase = (void __iomem *) &mace->isa.serial1;
return platform_device_register(&uart8250_device); return platform_device_register(&uart8250_device);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment