Commit 70b3e89a authored by Jingoo Han's avatar Jingoo Han Committed by Bjorn Helgaas

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: default avatarJingoo Han <jg1.han@samsung.com>
Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
parent f114040e
...@@ -509,7 +509,7 @@ static struct pcie_host_ops exynos_pcie_host_ops = { ...@@ -509,7 +509,7 @@ static struct pcie_host_ops exynos_pcie_host_ops = {
.host_init = exynos_pcie_host_init, .host_init = exynos_pcie_host_init,
}; };
static int __init add_pcie_port(struct pcie_port *pp, static int __init exynos_add_pcie_port(struct pcie_port *pp,
struct platform_device *pdev) struct platform_device *pdev)
{ {
int ret; int ret;
...@@ -615,7 +615,7 @@ static int __init exynos_pcie_probe(struct platform_device *pdev) ...@@ -615,7 +615,7 @@ static int __init exynos_pcie_probe(struct platform_device *pdev)
goto fail_bus_clk; goto fail_bus_clk;
} }
ret = add_pcie_port(pp, pdev); ret = exynos_add_pcie_port(pp, pdev);
if (ret < 0) if (ret < 0)
goto fail_bus_clk; goto fail_bus_clk;
...@@ -656,11 +656,11 @@ static struct platform_driver exynos_pcie_driver = { ...@@ -656,11 +656,11 @@ static struct platform_driver exynos_pcie_driver = {
/* Exynos PCIe driver does not allow module unload */ /* Exynos PCIe driver does not allow module unload */
static int __init pcie_init(void) static int __init exynos_pcie_init(void)
{ {
return platform_driver_probe(&exynos_pcie_driver, exynos_pcie_probe); return platform_driver_probe(&exynos_pcie_driver, exynos_pcie_probe);
} }
subsys_initcall(pcie_init); subsys_initcall(exynos_pcie_init);
MODULE_AUTHOR("Jingoo Han <jg1.han@samsung.com>"); MODULE_AUTHOR("Jingoo Han <jg1.han@samsung.com>");
MODULE_DESCRIPTION("Samsung PCIe host controller driver"); MODULE_DESCRIPTION("Samsung PCIe host controller driver");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment