|
@@ -700,7 +700,7 @@ static int qcom_pcie_probe(struct platform_device *pdev)
|
|
|
return PTR_ERR(pcie->parf);
|
|
|
|
|
|
res = platform_get_resource_byname(pdev, IORESOURCE_MEM, "dbi");
|
|
|
- pci->dbi_base = devm_ioremap_resource(dev, res);
|
|
|
+ pci->dbi_base = devm_pci_remap_cfg_resource(dev, res);
|
|
|
if (IS_ERR(pci->dbi_base))
|
|
|
return PTR_ERR(pci->dbi_base);
|
|
|
|