提交 f6330c31 编写于 作者: Y Yinghai Lu 提交者: 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: NYinghai Lu <yinghai@kernel.org>
Signed-off-by: NJesse Barnes <jbarnes@virtuousgeek.org>
上级 6b22cf3f
......@@ -910,7 +910,7 @@ static int disable_device(struct acpiphp_slot *slot)
disable_bridges(pdev->subordinate);
pci_disable_device(pdev);
}
pci_stop_and_remove_bus_device(pdev);
__pci_remove_bus_device(pdev);
pci_dev_put(pdev);
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册