Skip to content

Commit 7991eb3

Browse files
mszyprowjoergroedel
authored andcommitted
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 <[email protected]> Signed-off-by: Joerg Roedel <[email protected]>
1 parent d45331b commit 7991eb3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/iommu/exynos-iommu.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -566,7 +566,7 @@ static void sysmmu_tlb_invalidate_entry(struct sysmmu_drvdata *data,
566566

567567
static const struct iommu_ops exynos_iommu_ops;
568568

569-
static int __init exynos_sysmmu_probe(struct platform_device *pdev)
569+
static int exynos_sysmmu_probe(struct platform_device *pdev)
570570
{
571571
int irq, ret;
572572
struct device *dev = &pdev->dev;

0 commit comments

Comments
 (0)