Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 324213
b: refs/heads/master
c: d563e2c
h: refs/heads/master
i:
  324211: dfde3a5
v: v3
  • Loading branch information
Bjorn Helgaas committed Aug 22, 2012
1 parent 3c50d4d commit 1c12bb0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7990681ad8215977b27ac855520720193de2c98f
refs/heads/master: d563e2ccc8adb1385da42e6077736ba6854117bb
14 changes: 7 additions & 7 deletions trunk/drivers/pci/remove.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,19 +43,19 @@ static void pci_destroy_dev(struct pci_dev *dev)
pci_dev_put(dev);
}

void pci_remove_bus(struct pci_bus *pci_bus)
void pci_remove_bus(struct pci_bus *bus)
{
pci_proc_detach_bus(pci_bus);
pci_proc_detach_bus(bus);

down_write(&pci_bus_sem);
list_del(&pci_bus->node);
pci_bus_release_busn_res(pci_bus);
list_del(&bus->node);
pci_bus_release_busn_res(bus);
up_write(&pci_bus_sem);
if (!pci_bus->is_added)
if (!bus->is_added)
return;

pci_remove_legacy_files(pci_bus);
device_unregister(&pci_bus->dev);
pci_remove_legacy_files(bus);
device_unregister(&bus->dev);
}
EXPORT_SYMBOL(pci_remove_bus);

Expand Down

0 comments on commit 1c12bb0

Please sign in to comment.