Skip to content

Commit

Permalink
[MIPS] IP32: Fix initialization of UART base addresses.
Browse files Browse the repository at this point in the history
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  • Loading branch information
Ralf Baechle committed Sep 28, 2007
1 parent ff0ce68 commit d899873
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/mips/sgi-ip32/ip32-platform.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit d899873

Please sign in to comment.