]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/pci/hotplug/rpaphp_core.c
Merge branch 'pci/host-tegra' into next
[karo-tx-linux.git] / drivers / pci / hotplug / rpaphp_core.c
index 611f6056221a94fbe1e06c289e2a36b33f0e1c52..8d132024f06ed579a4ea8b3aefef856b337ed80e 100644 (file)
@@ -404,7 +404,7 @@ static int enable_slot(struct hotplug_slot *hotplug_slot)
 
        if (state == PRESENT) {
                pci_lock_rescan_remove();
-               pcibios_add_pci_devices(slot->bus);
+               pci_hp_add_devices(slot->bus);
                pci_unlock_rescan_remove();
                slot->state = CONFIGURED;
        } else if (state == EMPTY) {
@@ -426,7 +426,7 @@ static int disable_slot(struct hotplug_slot *hotplug_slot)
                return -EINVAL;
 
        pci_lock_rescan_remove();
-       pcibios_remove_pci_devices(slot->bus);
+       pci_hp_remove_devices(slot->bus);
        pci_unlock_rescan_remove();
        vm_unmap_aliases();