From: Bjorn Helgaas Date: Tue, 23 Feb 2010 17:24:31 +0000 (-0700) Subject: PCI: add pci_bus_for_each_resource(), remove direct bus->resource[] refs X-Git-Tag: v2.6.34-rc1~287^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=89a74ecccd1f78e51faf6287e5c0e93a92ac096e;p=pandora-kernel.git 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 Signed-off-by: Jesse Barnes --- Reading git-diff-tree failed