PCI: designware: Use pci_scan_root_bus() for simplicity
Jingoo Han
Acked-byQuoted 10 lines · Yijing Wang
Pci_bus_add_devices()was ripped out ofpci_scan_root_bus(). Nowpci_scan_root_bus()==pci_create_root_bus()+pci_scan_child_bus()if busn resource is supplied. Designware added the busn resource to resources list indw_pcie_setup(). So it should be safe to usepci_scan_root_bus()instead.Signed-off-by Yijing Wang <[email protected]>CC Mohit Kumar <[email protected]>CC Jingoo Han <[email protected]>
+cc: Pratyush Anand, Lucas Stach
Acked-by Jingoo Han <[email protected]>
Quoted 3 lines
--- drivers/pci/host/pcie-designware.c | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-)
PATCH v11 3/5 PCI: designware: Use pci_scan_root_bus() for simplicity
Quoted 9 lines · Jingoo Han
Quoted 7 lines · Yijing Wang
Pci_bus_add_devices()was ripped out ofpci_scan_root_bus(). Nowpci_scan_root_bus()==pci_create_root_bus()+pci_scan_child_bus()if busn resource is supplied. Designware added the busn resource to resources list indw_pcie_setup(). So it should be safe to usepci_scan_root_bus()instead.
Quoted 7 lines
Quoted 3 lines
Signed-off-by Yijing Wang <[email protected]>CC Mohit Kumar <[email protected]>CC Jingoo Han <[email protected]>+cc: Pratyush Anand, Lucas Stach
Acked-by Jingoo Han <[email protected]>
Looks fine to me:
Acked-by Pratyush Anand <[email protected]>