diff options
author | Jingoo Han <jg1.han@samsung.com> | 2014-11-06 00:30:49 -0500 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2014-11-13 11:41:21 -0500 |
commit | 23926c8dbd6fdca3da884fa6c2daa0d6a3cbddec (patch) | |
tree | 1f2ae7a2c412a740f226747167278e6602aec2f1 /drivers/pci | |
parent | f114040e3ea6e07372334ade75d1ee0775c355e1 (diff) |
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: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Kishon Vijay Abraham I <kishon@ti.com>
Diffstat (limited to 'drivers/pci')
-rw-r--r-- | drivers/pci/host/pci-dra7xx.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/pci/host/pci-dra7xx.c b/drivers/pci/host/pci-dra7xx.c index 52b34fee07fd..5b4a644c8058 100644 --- a/drivers/pci/host/pci-dra7xx.c +++ b/drivers/pci/host/pci-dra7xx.c | |||
@@ -270,8 +270,8 @@ static irqreturn_t dra7xx_pcie_irq_handler(int irq, void *arg) | |||
270 | return IRQ_HANDLED; | 270 | return IRQ_HANDLED; |
271 | } | 271 | } |
272 | 272 | ||
273 | static int add_pcie_port(struct dra7xx_pcie *dra7xx, | 273 | static int dra7xx_add_pcie_port(struct dra7xx_pcie *dra7xx, |
274 | struct platform_device *pdev) | 274 | struct platform_device *pdev) |
275 | { | 275 | { |
276 | int ret; | 276 | int ret; |
277 | struct pcie_port *pp; | 277 | struct pcie_port *pp; |
@@ -398,7 +398,7 @@ static int __init dra7xx_pcie_probe(struct platform_device *pdev) | |||
398 | 398 | ||
399 | platform_set_drvdata(pdev, dra7xx); | 399 | platform_set_drvdata(pdev, dra7xx); |
400 | 400 | ||
401 | ret = add_pcie_port(dra7xx, pdev); | 401 | ret = dra7xx_add_pcie_port(dra7xx, pdev); |
402 | if (ret < 0) | 402 | if (ret < 0) |
403 | goto err_add_port; | 403 | goto err_add_port; |
404 | 404 | ||