Merge remote-tracking branches 'regulator/topic/rk808', 'regulator/topic/rpm', 'regul...
[cascardo/linux.git] / arch / mn10300 / unit-asb2305 / pci-asb2305.c
index febb9cd..b5b036f 100644 (file)
@@ -106,7 +106,7 @@ static void __init pcibios_allocate_bus_resources(struct list_head *bus_list)
                                if (!r->flags)
                                        continue;
                                if (!r->start ||
-                                   pci_claim_resource(dev, idx) < 0) {
+                                   pci_claim_bridge_resource(dev, idx) < 0) {
                                        printk(KERN_ERR "PCI:"
                                               " Cannot allocate resource"
                                               " region %d of bridge %s\n",