| From | Yinghai Lu <> | Subject | [PATCH 17/36] PCI: release busn when removing bus | Date | Wed, 29 Feb 2012 19:00:18 -0800 |
| |
Signed-off-by: Yinghai Lu <yinghai@kernel.org> --- drivers/pci/remove.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/pci/remove.c b/drivers/pci/remove.c index fd77e2b..04a4861 100644 --- a/drivers/pci/remove.c +++ b/drivers/pci/remove.c @@ -68,6 +68,7 @@ void pci_remove_bus(struct pci_bus *pci_bus) down_write(&pci_bus_sem); list_del(&pci_bus->node); + pci_bus_release_busn_res(pci_bus); up_write(&pci_bus_sem); if (!pci_bus->is_added) return; -- 1.7.7
|