commit | 89a74ecccd1f78e51faf6287e5c0e93a92ac096e | [log] [tgz] |
---|---|---|
author | Bjorn Helgaas <bjorn.helgaas@hp.com> | Tue Feb 23 10:24:31 2010 -0700 |
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | Tue Feb 23 09:43:31 2010 -0800 |
tree | 6d167d73fb2cf5bb457b0b19145fcbf81cf441ef | |
parent | 2adf75160b10bf3f09ed7d3d04e937f923fc557e [diff] |
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: Bjorn Helgaas <bjorn.helgaas@hp.com> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>