diff options
Diffstat (limited to 'arch/frv/mb93090-mb00/pci-vdk.c')
-rw-r--r-- | arch/frv/mb93090-mb00/pci-vdk.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/frv/mb93090-mb00/pci-vdk.c b/arch/frv/mb93090-mb00/pci-vdk.c index d04ed14bbf0c..71e9bcf58105 100644 --- a/arch/frv/mb93090-mb00/pci-vdk.c +++ b/arch/frv/mb93090-mb00/pci-vdk.c | |||
@@ -330,10 +330,8 @@ void __init pcibios_fixup_bus(struct pci_bus *bus) | |||
330 | pci_read_bridge_bases(bus); | 330 | pci_read_bridge_bases(bus); |
331 | 331 | ||
332 | if (bus->number == 0) { | 332 | if (bus->number == 0) { |
333 | struct list_head *ln; | ||
334 | struct pci_dev *dev; | 333 | struct pci_dev *dev; |
335 | for (ln=bus->devices.next; ln != &bus->devices; ln=ln->next) { | 334 | list_for_each_entry(dev, &bus->devices, bus_list) { |
336 | dev = pci_dev_b(ln); | ||
337 | if (dev->devfn == 0) { | 335 | if (dev->devfn == 0) { |
338 | dev->resource[0].start = 0; | 336 | dev->resource[0].start = 0; |
339 | dev->resource[0].end = 0; | 337 | dev->resource[0].end = 0; |