diff options
Diffstat (limited to 'drivers/pci_endpoint')
-rw-r--r-- | drivers/pci_endpoint/pcie-cadence-ep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci_endpoint/pcie-cadence-ep.c b/drivers/pci_endpoint/pcie-cadence-ep.c index 74dfdde154..59231d340a 100644 --- a/drivers/pci_endpoint/pcie-cadence-ep.c +++ b/drivers/pci_endpoint/pcie-cadence-ep.c @@ -144,7 +144,7 @@ static int cdns_pci_ep_probe(struct udevice *dev) { struct cdns_pcie *pdata = dev_get_priv(dev); - pdata->reg_base = dev_read_addr_ptr(dev); + pdata->reg_base = (void __iomem *)devfdt_get_addr(dev); if (!pdata->reg_base) return -ENOMEM; |