]> 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>
Tue, 13 Dec 2011 18:42:29 +0000 (10:42 -0800)
commitf252c68db8cce53b18b51ecbed91a9aac81fbd5c
treeaee193123b9ec40a5420dc353e2e7d93855dd9f5
parent42f9e81830fdfce3672190ad23b6e38eda8e764d
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