]> git.karo-electronics.de Git - karo-tx-linux.git/commit
microblaze/PCI: fix pci_bus_for_each_resource() usage
authorBjorn Helgaas <bhelgaas@google.com>
Fri, 28 Oct 2011 22:26:36 +0000 (16:26 -0600)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Mon, 12 Dec 2011 20:52:48 +0000 (12:52 -0800)
commit166f536ac180d4e9c4b4fae940ad539cf99d0e1f
treee19e52add7efa674a5dee3e7046b052c28b62487
parent5d605fa47f86c7dee66b56894db5ad1d42248f2c
microblaze/PCI: fix pci_bus_for_each_resource() usage

The pci_bus_for_each_resource() iterator sets "res" itself, so there's
no need to look it up in the bus->resource[] table.

Logically part of 89a74ecccd and 8a66da71fa.

CC: Michal Simek <monstr@monstr.eu>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
arch/microblaze/pci/pci-common.c