aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci
diff options
context:
space:
mode:
authorYinghai Lu <yinghai@kernel.org>2012-02-25 16:54:23 -0500
committerJesse Barnes <jbarnes@virtuousgeek.org>2012-02-27 15:17:16 -0500
commitf6330c3178112a7b7f18e7f51f1cbb89fa1174c7 (patch)
treec19c236c02d093adc9b02b537610b6fc36b9c0e7 /drivers/pci
parent6b22cf3f35fd332e4cc2c1b27056920b3643667a (diff)
PCI: make acpihp use __pci_remove_bus_device instead
pci_stop_bus_device gets called before in the same loop. Signed-off-by: Yinghai Lu <yinghai@kernel.org> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'drivers/pci')
-rw-r--r--drivers/pci/hotplug/acpiphp_glue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/hotplug/acpiphp_glue.c b/drivers/pci/hotplug/acpiphp_glue.c
index fdc34b599e7b..806c44fa645a 100644
--- a/drivers/pci/hotplug/acpiphp_glue.c
+++ b/drivers/pci/hotplug/acpiphp_glue.c
@@ -910,7 +910,7 @@ static int disable_device(struct acpiphp_slot *slot)
910 disable_bridges(pdev->subordinate); 910 disable_bridges(pdev->subordinate);
911 pci_disable_device(pdev); 911 pci_disable_device(pdev);
912 } 912 }
913 pci_stop_and_remove_bus_device(pdev); 913 __pci_remove_bus_device(pdev);
914 pci_dev_put(pdev); 914 pci_dev_put(pdev);
915 } 915 }
916 } 916 }