mirror of https://gitee.com/openkylin/linux.git
Merge branch 'pci/list-for-each-entry' into next
* pci/list-for-each-entry: PCI: frv: replace now removed pci_bus_b() causing build failure
This commit is contained in:
commit
5d833a6ce8
|
@ -88,7 +88,7 @@ static void __init pcibios_allocate_bus_resources(struct list_head *bus_list)
|
||||||
|
|
||||||
/* Depth-First Search on bus tree */
|
/* Depth-First Search on bus tree */
|
||||||
for (ln=bus_list->next; ln != bus_list; ln=ln->next) {
|
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)) {
|
if ((dev = bus->self)) {
|
||||||
for (idx = PCI_BRIDGE_RESOURCES; idx < PCI_NUM_RESOURCES; idx++) {
|
for (idx = PCI_BRIDGE_RESOURCES; idx < PCI_NUM_RESOURCES; idx++) {
|
||||||
r = &dev->resource[idx];
|
r = &dev->resource[idx];
|
||||||
|
|
Loading…
Reference in New Issue