summaryrefslogtreecommitdiff
path: root/drivers/pci/host/pci-v3-semi.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pci/host/pci-v3-semi.c')
-rw-r--r--drivers/pci/host/pci-v3-semi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/host/pci-v3-semi.c b/drivers/pci/host/pci-v3-semi.c
index f3f39935ac2f..167bf6f6b378 100644
--- a/drivers/pci/host/pci-v3-semi.c
+++ b/drivers/pci/host/pci-v3-semi.c
@@ -791,7 +791,7 @@ static int v3_pci_probe(struct platform_device *pdev)
if (IS_ERR(v3->config_base))
return PTR_ERR(v3->config_base);
- ret = of_pci_get_host_bridge_resources(dev, 0, 0xff, &res,
+ ret = devm_of_pci_get_host_bridge_resources(dev, 0, 0xff, &res,
&io_base);
if (ret)
return ret;