mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +00:00
[MIPS] IP32: Fix initialization of UART base addresses.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
parent
ff0ce6845b
commit
d8998737bd
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue