提交 81b635ef 编写于 作者: R Ralf Baechle

[MIPS] IP32: Fix address of 2nd serial interface.

Found by Giuseppe Sacco <giuseppe@eppesuigoccas.homedns.org>.
Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
上级 46abf4b3
...@@ -42,7 +42,7 @@ static struct platform_device uart8250_device = { ...@@ -42,7 +42,7 @@ static struct platform_device uart8250_device = {
static int __init uart8250_init(void) static int __init uart8250_init(void)
{ {
uart8250_data[0].membase = (void __iomem *) &mace->isa.serial1; 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); return platform_device_register(&uart8250_device);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册