]> git.karo-electronics.de Git - karo-tx-linux.git/commit
sparc32, leon/PCI: convert to pci_scan_root_bus() for correct root bus resources
authorBjorn Helgaas <bhelgaas@google.com>
Fri, 28 Oct 2011 22:27:58 +0000 (16:27 -0600)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Tue, 13 Dec 2011 18:42:29 +0000 (10:42 -0800)
commite4871d167100816ab9b1fdf56f44f0aaf02c3443
tree3179176f2b94a0054d8d33bdf738d01152647e52
parentf252c68db8cce53b18b51ecbed91a9aac81fbd5c
sparc32, leon/PCI: convert to pci_scan_root_bus() for correct root bus resources

Convert from pci_scan_bus_parented() to pci_scan_root_bus() and remove root
bus resource fixups.  This fixes the problem of "early" and "header" quirks
seeing incorrect root bus resources.

pci_scan_root_bus() also includes the pci_bus_add_devices() so we don't
need to do that separately.

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/leon_pci.c