]> 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>
Tue, 13 Dec 2011 18:42:18 +0000 (10:42 -0800)
commit73e0b730f37a587e46fe6d6eb8db74ef7c1c92c9
treeaa6beb9877847c8d73af2281396b0394747223e2
parentb17aa6b714947e7d42f27a897e3b18033969e39d
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