summaryrefslogtreecommitdiffstats
path: root/arch/frv
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2014-02-20 12:46:06 -0500
committerBjorn Helgaas <bhelgaas@google.com>2014-02-20 11:11:44 -0700
commit29e4e982b5ae7718b897652268837dc1f0035414 (patch)
tree9f147917096b05fa808d21e24b6e693d870c850e /arch/frv
parent94e6a9b93064b49024b8701d2d81fcb4a821fa09 (diff)
downloadlinux-stable-29e4e982b5ae7718b897652268837dc1f0035414.tar.gz
linux-stable-29e4e982b5ae7718b897652268837dc1f0035414.tar.bz2
linux-stable-29e4e982b5ae7718b897652268837dc1f0035414.zip
PCI: frv: replace now removed pci_bus_b() causing build failure
In commit 94e6a9b93064 ("PCI: Remove pci_bus_b() and use list_for_each_entry() directly") the function pci_bus_b() was removed, but one instance of its usage was missed. Replace it in the same fashion that the original commit did. Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Cc: Yijing Wang <wangyijing@huawei.com>
Diffstat (limited to 'arch/frv')
-rw-r--r--arch/frv/mb93090-mb00/pci-frv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/frv/mb93090-mb00/pci-frv.c b/arch/frv/mb93090-mb00/pci-frv.c
index c28121765448..67b1d1685759 100644
--- a/arch/frv/mb93090-mb00/pci-frv.c
+++ b/arch/frv/mb93090-mb00/pci-frv.c
@@ -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];