summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarek Szyprowski <m.szyprowski@samsung.com>2019-08-12 12:32:46 +0200
committerJoerg Roedel <jroedel@suse.de>2019-08-14 10:50:50 +0200
commit7991eb39eedc2f8565568f02877f7e22c4f89f98 (patch)
tree21ee4d345f2aaecd5fa5d2d549c7fffcaf24d02b
parentd45331b00ddb179e291766617259261c112db872 (diff)
downloadblackbird-op-linux-7991eb39eedc2f8565568f02877f7e22c4f89f98.tar.gz
blackbird-op-linux-7991eb39eedc2f8565568f02877f7e22c4f89f98.zip
iommu/exynos: Remove __init annotation from exynos_sysmmu_probe()
Exynos SYSMMU driver supports deferred probe. It happens when clocks needed for this driver are not yet available. Typically next calls to driver ->probe() happen before init section is free, but this is not really guaranteed. To make if safe, remove __init annotation from exynos_sysmmu_probe() function. Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Signed-off-by: Joerg Roedel <jroedel@suse.de>
-rw-r--r--drivers/iommu/exynos-iommu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iommu/exynos-iommu.c b/drivers/iommu/exynos-iommu.c
index b0c1e5f9daae..a48236c1d5cb 100644
--- a/drivers/iommu/exynos-iommu.c
+++ b/drivers/iommu/exynos-iommu.c
@@ -566,7 +566,7 @@ static void sysmmu_tlb_invalidate_entry(struct sysmmu_drvdata *data,
static const struct iommu_ops exynos_iommu_ops;
-static int __init exynos_sysmmu_probe(struct platform_device *pdev)
+static int exynos_sysmmu_probe(struct platform_device *pdev)
{
int irq, ret;
struct device *dev = &pdev->dev;
OpenPOWER on IntegriCloud