PCI: dra7xx: Rename add_pcie_port() to dra7xx_add_pcie_port()
[firefly-linux-kernel-4.4.55.git] / drivers / pci / host / pci-dra7xx.c
index 52b34fee07fda7ef0fb59a5895d7224d4946c272..5b4a644c805808bbee951bdd158c3365aeeb2683 100644 (file)
@@ -270,8 +270,8 @@ static irqreturn_t dra7xx_pcie_irq_handler(int irq, void *arg)
        return IRQ_HANDLED;
 }
 
-static int add_pcie_port(struct dra7xx_pcie *dra7xx,
-                         struct platform_device *pdev)
+static int dra7xx_add_pcie_port(struct dra7xx_pcie *dra7xx,
+                               struct platform_device *pdev)
 {
        int ret;
        struct pcie_port *pp;
@@ -398,7 +398,7 @@ static int __init dra7xx_pcie_probe(struct platform_device *pdev)
 
        platform_set_drvdata(pdev, dra7xx);
 
-       ret = add_pcie_port(dra7xx, pdev);
+       ret = dra7xx_add_pcie_port(dra7xx, pdev);
        if (ret < 0)
                goto err_add_port;