Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 358421
b: refs/heads/master
c: 2ca344e
h: refs/heads/master
i:
  358419: 2f08d9c
v: v3
  • Loading branch information
Jiang Liu authored and Bjorn Helgaas committed Feb 1, 2013
1 parent 41b4371 commit 28cd0e7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: 40064acf0c2ca2fdc78cc6f09c3426be8db38a84
refs/heads/master: 2ca344e8c798127ae01e656838b9b06ed41d1461
6 changes: 3 additions & 3 deletions trunk/drivers/pci/hotplug/acpiphp_glue.c
Original file line number Diff line number Diff line change
Expand Up @@ -839,6 +839,9 @@ static int __ref enable_device(struct acpiphp_slot *slot)
if (slot->flags & SLOT_ENABLED)
goto err_exit;

list_for_each_entry(func, &slot->funcs, sibling)
acpiphp_bus_add(func);

num = pci_scan_slot(bus, PCI_DEVFN(slot->device, 0));
if (num == 0) {
/* Maybe only part of funcs are added. */
Expand All @@ -862,9 +865,6 @@ static int __ref enable_device(struct acpiphp_slot *slot)
}
}

list_for_each_entry(func, &slot->funcs, sibling)
acpiphp_bus_add(func);

pci_bus_assign_resources(bus);
acpiphp_sanitize_bus(bus);
acpiphp_set_hpp_values(bus);
Expand Down

0 comments on commit 28cd0e7

Please sign in to comment.