]> git.baikalelectronics.ru Git - kernel.git/commit
microblaze: PCI: add pci_bus_for_each_resource(), remove direct bus->resource[] refs
authorMichal Simek <monstr@monstr.eu>
Fri, 16 Apr 2010 07:03:00 +0000 (09:03 +0200)
committerMichal Simek <monstr@monstr.eu>
Thu, 6 May 2010 09:21:57 +0000 (11:21 +0200)
commit34c09f4ec7182039cfb7dbf3d67f5d9863c7dc17
tree047caefba4943562da1f0918761e7031564c7594
parent54b53f859b86edda1cd0b997f0615da697635dc7
microblaze: PCI: add pci_bus_for_each_resource(), remove direct bus->resource[] refs

This change should be part of 5a60217c6a51fc093ba7647de7455c820cc7c443

Origin description:

PCI: add pci_bus_for_each_resource(), remove direct bus->resource[] refs

No functional change; this converts loops that iterate from 0 to
PCI_BUS_NUM_RESOURCES through pci_bus resource[] table to use the
pci_bus_for_each_resource() iterator instead.

This doesn't change the way resources are stored; it merely removes
dependencies on the fact that they're in a table.

Signed-off-by: Michal Simek <monstr@monstr.eu>
arch/microblaze/pci/pci-common.c