]> git.karo-electronics.de Git - karo-tx-linux.git/commit
sparc/PCI: convert to pci_create_root_bus()
authorBjorn Helgaas <bhelgaas@google.com>
Fri, 28 Oct 2011 22:27:53 +0000 (16:27 -0600)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Mon, 12 Dec 2011 20:52:59 +0000 (12:52 -0800)
commitbe9f56fa1846b4df8b83eaf1fac556cbcb1d62ae
treee8253ca7d1e468f4f5a4f662245875153ab2cf8f
parentf10bf8bd100974fcce159c9b3820c0941700a7cf
sparc/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 sparc fixed the resources before scanning the bus, but it makes
sparc more consistent with other architectures.

v2: fix build error (from sfr)

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
arch/sparc/kernel/pci.c