Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 294785
b: refs/heads/master
c: 6b22cf3
h: refs/heads/master
i:
  294783: 696bf24
v: v3
  • Loading branch information
Yinghai Lu authored and Jesse Barnes committed Feb 27, 2012
1 parent 8ea9dc5 commit a2430f9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 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: 6754b9e9c33502223db066de50dda8a876f70c2c
refs/heads/master: 6b22cf3f35fd332e4cc2c1b27056920b3643667a
4 changes: 3 additions & 1 deletion trunk/drivers/pci/remove.c
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ static void __pci_remove_behind_bridge(struct pci_dev *dev);
* device lists, remove the /proc entry, and notify userspace
* (/sbin/hotplug).
*/
static void __pci_remove_bus_device(struct pci_dev *dev)
void __pci_remove_bus_device(struct pci_dev *dev)
{
if (dev->subordinate) {
struct pci_bus *b = dev->subordinate;
Expand All @@ -102,6 +102,8 @@ static void __pci_remove_bus_device(struct pci_dev *dev)

pci_destroy_dev(dev);
}
EXPORT_SYMBOL(__pci_remove_bus_device);

void pci_stop_and_remove_bus_device(struct pci_dev *dev)
{
pci_stop_bus_device(dev);
Expand Down
1 change: 1 addition & 0 deletions trunk/include/linux/pci.h
Original file line number Diff line number Diff line change
Expand Up @@ -686,6 +686,7 @@ u8 pci_common_swizzle(struct pci_dev *dev, u8 *pinp);
extern struct pci_dev *pci_dev_get(struct pci_dev *dev);
extern void pci_dev_put(struct pci_dev *dev);
extern void pci_remove_bus(struct pci_bus *b);
extern void __pci_remove_bus_device(struct pci_dev *dev);
extern void pci_stop_and_remove_bus_device(struct pci_dev *dev);
extern void pci_stop_bus_device(struct pci_dev *dev);
void pci_setup_cardbus(struct pci_bus *bus);
Expand Down

0 comments on commit a2430f9

Please sign in to comment.