Skip to content

Commit

Permalink
Merge branch 'pci/list-for-each-entry' into next
Browse files Browse the repository at this point in the history
* pci/list-for-each-entry:
  PCI: frv: replace now removed pci_bus_b() causing build failure
  • Loading branch information
Bjorn Helgaas committed Feb 20, 2014
2 parents 94a5f85 + 29e4e98 commit 5d833a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/frv/mb93090-mb00/pci-frv.c
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ static void __init pcibios_allocate_bus_resources(struct list_head *bus_list)

/* Depth-First Search on bus tree */
for (ln=bus_list->next; ln != bus_list; ln=ln->next) {
bus = pci_bus_b(ln);
bus = list_entry(ln, struct pci_bus, node);
if ((dev = bus->self)) {
for (idx = PCI_BRIDGE_RESOURCES; idx < PCI_NUM_RESOURCES; idx++) {
r = &dev->resource[idx];
Expand Down

0 comments on commit 5d833a6

Please sign in to comment.