Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 23926c8d authored by Jingoo Han's avatar Jingoo Han Committed by Bjorn Helgaas
Browse files

PCI: dra7xx: Rename add_pcie_port() to dra7xx_add_pcie_port()



The add_pcie_port() function is dra7xx-specific.  Add dra7xx prefix to
avoid collision in global name space.

Signed-off-by: default avatarJingoo Han <jg1.han@samsung.com>
Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
Acked-by: default avatarKishon Vijay Abraham I <kishon@ti.com>
parent f114040e
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -270,7 +270,7 @@ static irqreturn_t dra7xx_pcie_irq_handler(int irq, void *arg)
	return IRQ_HANDLED;
}

static int add_pcie_port(struct dra7xx_pcie *dra7xx,
static int dra7xx_add_pcie_port(struct dra7xx_pcie *dra7xx,
				struct platform_device *pdev)
{
	int ret;
@@ -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;