[MIPS] IP32: Fix address of 2nd serial interface.
Found by Giuseppe Sacco <giuseppe@eppesuigoccas.homedns.org>. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
parent
46abf4b39a
commit
81b635ef36
@ -42,7 +42,7 @@ static struct platform_device uart8250_device = {
|
||||
static int __init uart8250_init(void)
|
||||
{
|
||||
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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user