mirror of
https://github.com/torvalds/linux
synced 2024-11-03 01:56:01 +00:00
Initialize iomem_resource.
Signed-off-by: Thiemo Seufer <ths@networkno.de> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
parent
16033d6104
commit
dd19326148
1 changed files with 3 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue