From: Quanyang Wang <[email protected]>

Because of mainline commit 669cbc708122 ("PCI: Move DT resource
setup into devm_pci_alloc_host_bridge()"), pci_parse_request_of_pci_ranges
is moved into devm_pci_alloc_host_bridge and no need to be called
explicitly in PCI controller driver, so remove it.

Signed-off-by: Quanyang Wang <[email protected]>
---
 drivers/pci/controller/pcie-xdma-pl.c | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/drivers/pci/controller/pcie-xdma-pl.c 
b/drivers/pci/controller/pcie-xdma-pl.c
index 9db861f20c4c..874cca486a32 100644
--- a/drivers/pci/controller/pcie-xdma-pl.c
+++ b/drivers/pci/controller/pcie-xdma-pl.c
@@ -855,13 +855,6 @@ static int xilinx_pcie_probe(struct platform_device *pdev)
                return err;
        }
 
-       err = pci_parse_request_of_pci_ranges(dev, &bridge->windows,
-                                                                               
  &bridge->dma_ranges, NULL);
-       if (err) {
-               dev_err(dev, "Getting bridge resources failed\n");
-               return err;
-       }
-
        bridge->dev.parent = dev;
        bridge->sysdata = port;
        bridge->busnr = port->root_busno;
-- 
2.17.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#9079): 
https://lists.yoctoproject.org/g/linux-yocto/message/9079
Mute This Topic: https://lists.yoctoproject.org/mt/77005845/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to