PCI: mvebu: Remove mvebu_pcie_scan_bus()
authorYijing Wang <wangyijing@huawei.com>
Tue, 28 Apr 2015 07:01:35 +0000 (15:01 +0800)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 27 May 2015 00:05:59 +0000 (19:05 -0500)
commit2dead00b925eccdc13b7cd915fa0d088b91bcb52
tree070bc6fd0365fe8883d3ff1932028f1cca76f47d
parent5ebe6afaf0057ac3eaeb98defd5456894b446d22
PCI: mvebu: Remove mvebu_pcie_scan_bus()

After b97ea289cf6a ("PCI: Assign resources before drivers claim devices
(pci_scan_root_bus())"), pci_scan_root_bus() no longer adds the devices, so
it is equivalent to mvebu_pcie_scan_bus().

Remove mvebu_pcie_scan_bus() (the hw.scan method), so we use the generic
pci_scan_root_bus() path.  We also need to use pci_common_init_dev()
instead of pci_common_init() so we can supply the host bridge device
pointer.

[bhelgaas: changelog]
Tested-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: Yijing Wang <wangyijing@huawei.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
CC: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
CC: Jason Cooper <jason@lakedaemon.net>
drivers/pci/host/pci-mvebu.c
This page took 0.026298 seconds and 5 git commands to generate.