Skip to content

Commit

Permalink
Initialize iomem_resource.
Browse files Browse the repository at this point in the history
Signed-off-by: Thiemo Seufer <ths@networkno.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  • Loading branch information
Thiemo Seufer authored and Ralf Baechle committed Oct 29, 2005
1 parent 16033d6 commit dd19326
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion arch/mips/pci/pci-ip32.c
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,9 @@ static int __init mace_init(void)
BUG_ON(request_irq(MACE_PCI_BRIDGE_IRQ, macepci_error, 0,
"MACE PCI error", NULL));

ioport_resource.end = mace_pci_io_resource.end;
iomem_resource = mace_pci_mem_resource;
ioport_resource = mace_pci_io_resource;

register_pci_controller(&mace_pci_controller);

return 0;
Expand Down

0 comments on commit dd19326

Please sign in to comment.