diff options
Diffstat (limited to 'drivers/pci/host/pcie-xilinx.c')
-rw-r--r-- | drivers/pci/host/pcie-xilinx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/host/pcie-xilinx.c b/drivers/pci/host/pcie-xilinx.c index 7f030f5d750b..2fe2df51f9f8 100644 --- a/drivers/pci/host/pcie-xilinx.c +++ b/drivers/pci/host/pcie-xilinx.c | |||
@@ -606,7 +606,7 @@ static int xilinx_pcie_parse_dt(struct xilinx_pcie_port *port) | |||
606 | return err; | 606 | return err; |
607 | } | 607 | } |
608 | 608 | ||
609 | port->reg_base = devm_ioremap_resource(dev, ®s); | 609 | port->reg_base = devm_pci_remap_cfg_resource(dev, ®s); |
610 | if (IS_ERR(port->reg_base)) | 610 | if (IS_ERR(port->reg_base)) |
611 | return PTR_ERR(port->reg_base); | 611 | return PTR_ERR(port->reg_base); |
612 | 612 | ||