From 2981d63a6bdd6ada531612cb54cdee698cceb2b9 Mon Sep 17 00:00:00 2001 From: "Isaac J. Manjarres" Date: Tue, 19 Nov 2019 11:45:06 -0800 Subject: [PATCH] iommu/arm-smmu: Remove legacy bindings bus initialization initcall No currently supported targets utilize the deprecated mmu-masters bindings, which results in the legacy bindings initcall being a no-op. Thus, remove the initcall to the legacy bindings routine for now, until this can be handled properly. Change-Id: Ie8b1004914315e757c059f8b8fc2b8713351be16 Signed-off-by: Isaac J. Manjarres --- drivers/iommu/arm-smmu.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/iommu/arm-smmu.c b/drivers/iommu/arm-smmu.c index aafac8dd63e3..bafc1b37036e 100644 --- a/drivers/iommu/arm-smmu.c +++ b/drivers/iommu/arm-smmu.c @@ -4763,13 +4763,12 @@ out_exit_power_resources: * delay setting bus ops until we're sure every possible SMMU is ready, * and that way ensure that no add_device() calls get missed. */ -static int arm_smmu_legacy_bus_init(void) +static int __maybe_unused arm_smmu_legacy_bus_init(void) { if (using_legacy_binding) arm_smmu_bus_init(); return 0; } -device_initcall_sync(arm_smmu_legacy_bus_init); static int arm_smmu_device_remove(struct platform_device *pdev) {