Initialize iomem_resource.
authorThiemo Seufer <ths@networkno.de>
Sat, 19 Feb 2005 13:58:37 +0000 (13:58 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Sat, 29 Oct 2005 18:30:39 +0000 (19:30 +0100)
Signed-off-by: Thiemo Seufer <ths@networkno.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/pci/pci-ip32.c

index 000dc6af6cd39310d0bd940f0c766fc96326090c..180af89bcb1ed133c2a296017c4d118b7d5f1493 100644 (file)
@@ -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;