Commit f6330c31 authored by Yinghai Lu's avatar Yinghai Lu Committed by Jesse Barnes

PCI: make acpihp use __pci_remove_bus_device instead

pci_stop_bus_device gets called before in the same loop.
Signed-off-by: default avatarYinghai Lu <yinghai@kernel.org>
Signed-off-by: default avatarJesse Barnes <jbarnes@virtuousgeek.org>
parent 6b22cf3f
...@@ -910,7 +910,7 @@ static int disable_device(struct acpiphp_slot *slot) ...@@ -910,7 +910,7 @@ static int disable_device(struct acpiphp_slot *slot)
disable_bridges(pdev->subordinate); disable_bridges(pdev->subordinate);
pci_disable_device(pdev); pci_disable_device(pdev);
} }
pci_stop_and_remove_bus_device(pdev); __pci_remove_bus_device(pdev);
pci_dev_put(pdev); pci_dev_put(pdev);
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment