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 <isaacm@codeaurora.org>
This commit is contained in:
Isaac J. Manjarres 2019-11-19 11:45:06 -08:00
commit 2981d63a6b

View file

@ -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)
{