From: Yijing Wang Date: Tue, 28 Apr 2015 07:01:35 +0000 (+0800) Subject: PCI: mvebu: Remove mvebu_pcie_scan_bus() X-Git-Tag: omap-for-v4.3/legacy-v2-signed~188^2~3^3~4 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2dead00b925eccdc13b7cd915fa0d088b91bcb52;p=pandora-kernel.git 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 Signed-off-by: Yijing Wang Signed-off-by: Bjorn Helgaas Reviewed-by: Gregory CLEMENT CC: Thomas Petazzoni CC: Jason Cooper --- Reading git-diff-tree failed