]> 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>
Mon, 12 Dec 2011 20:52:58 +0000 (12:52 -0800)
commitf32f53c8842dcb359610477bef4bbf6119f27a67
tree9f2d49b81d75ba5fe7ef8994e81b06b5816f910b
parentd8966258e2a89f659ff96dc57d70bd0f3cd434c5
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