aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/host/pci-exynos.c
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2014-10-22 00:58:49 -0400
committerBjorn Helgaas <bhelgaas@google.com>2014-10-23 12:00:06 -0400
commit70b3e89aaf421ad642c4ab0fb196e1c19ea838c5 (patch)
tree8fd12f604f6d8511844bee0338681a757222285c /drivers/pci/host/pci-exynos.c
parentf114040e3ea6e07372334ade75d1ee0775c355e1 (diff)
PCI: exynos: Add exynos prefix to add_pcie_port()/pcie_init()
The add_pcie_port() and pcie_init() functions are Exynos-specific. Add exynos 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>
Diffstat (limited to 'drivers/pci/host/pci-exynos.c')
-rw-r--r--drivers/pci/host/pci-exynos.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/pci/host/pci-exynos.c b/drivers/pci/host/pci-exynos.c
index c5d0ca384502..902d7cd3e760 100644
--- a/drivers/pci/host/pci-exynos.c
+++ b/drivers/pci/host/pci-exynos.c
@@ -509,8 +509,8 @@ static struct pcie_host_ops exynos_pcie_host_ops = {
509 .host_init = exynos_pcie_host_init, 509 .host_init = exynos_pcie_host_init,
510}; 510};
511 511
512static int __init add_pcie_port(struct pcie_port *pp, 512static int __init exynos_add_pcie_port(struct pcie_port *pp,
513 struct platform_device *pdev) 513 struct platform_device *pdev)
514{ 514{
515 int ret; 515 int ret;
516 516
@@ -615,7 +615,7 @@ static int __init exynos_pcie_probe(struct platform_device *pdev)
615 goto fail_bus_clk; 615 goto fail_bus_clk;
616 } 616 }
617 617
618 ret = add_pcie_port(pp, pdev); 618 ret = exynos_add_pcie_port(pp, pdev);
619 if (ret < 0) 619 if (ret < 0)
620 goto fail_bus_clk; 620 goto fail_bus_clk;
621 621
@@ -656,11 +656,11 @@ static struct platform_driver exynos_pcie_driver = {
656 656
657/* Exynos PCIe driver does not allow module unload */ 657/* Exynos PCIe driver does not allow module unload */
658 658
659static int __init pcie_init(void) 659static int __init exynos_pcie_init(void)
660{ 660{
661 return platform_driver_probe(&exynos_pcie_driver, exynos_pcie_probe); 661 return platform_driver_probe(&exynos_pcie_driver, exynos_pcie_probe);
662} 662}
663subsys_initcall(pcie_init); 663subsys_initcall(exynos_pcie_init);
664 664
665MODULE_AUTHOR("Jingoo Han <jg1.han@samsung.com>"); 665MODULE_AUTHOR("Jingoo Han <jg1.han@samsung.com>");
666MODULE_DESCRIPTION("Samsung PCIe host controller driver"); 666MODULE_DESCRIPTION("Samsung PCIe host controller driver");