]> git.karo-electronics.de Git - karo-tx-linux.git/commit
microblaze/PCI: convert to pci_create_root_bus() for correct root bus resources
authorBjorn Helgaas <bhelgaas@google.com>
Fri, 28 Oct 2011 22:26:46 +0000 (16:26 -0600)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Tue, 13 Dec 2011 18:42:19 +0000 (10:42 -0800)
commit9d7f75802333c95718b257cb00eede503c8a108c
tree5fd4e1eac1d322a5ac4dfef8390cbe93d8a4a4b8
parent36d79f5c0cbb5ba0455d944f49736e1dde1e5801
microblaze/PCI: convert to pci_create_root_bus() for correct root bus resources

Convert from pci_create_bus() to pci_create_root_bus().  This way the root
bus resources are correct immediately.  This patch doesn't fix a problem
because microblaze fixed the resources before scanning the bus, but it makes
microblaze more consistent with other architectures.  It also allows us to
use the pci_scan_root_bus() path safely.

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