]> git.karo-electronics.de Git - karo-tx-linux.git/commit
powerpc/PCI: convert to pci_create_root_bus()
authorBjorn Helgaas <bhelgaas@google.com>
Fri, 28 Oct 2011 22:27:43 +0000 (16:27 -0600)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Tue, 13 Dec 2011 18:42:27 +0000 (10:42 -0800)
commit7cf3dd07ee89957095b8c858eaef1ab8ef3cf9bd
tree604025e6e6012173f050f8181118f47a39ca6c84
parenta4555e52b922b7f68af073688746590c97ce784c
powerpc/PCI: convert to pci_create_root_bus()

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 powerpc fixed the resources before scanning the bus, but it makes
powerpc more consistent with other architectures.

v2: fix build error with resource pointer passing

CC: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
arch/powerpc/kernel/pci-common.c