iommu/arm-smmu: Move the SMMU driver to subsys_initcall

Change the initcall level for the SMMU driver to subsys_initcall
so that the IOMMU devices get probed earlier in the bootup
sequence. This helps reduce the number of probe retrials for
client drivers that depend on an IOMMU.

Change-Id: If49b41c9b63f2eaf75cd6b7460b1d4ffc10e56db
Signed-off-by: Isaac J. Manjarres <[email protected]>
This commit is contained in:
Isaac J. Manjarres 2019-11-01 11:50:22 -07:00
commit afedb9d866

View file

@ -4883,7 +4883,7 @@ static void __exit arm_smmu_exit(void)
return platform_driver_unregister(&arm_smmu_driver);
}
module_init(arm_smmu_init);
subsys_initcall(arm_smmu_init);
module_exit(arm_smmu_exit);
#define TCU_HW_VERSION_HLOS1 (0x18)