Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit afedb9d8 authored by Isaac J. Manjarres's avatar Isaac J. Manjarres
Browse files

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: default avatarIsaac J. Manjarres <isaacm@codeaurora.org>
parent 727f8a70
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)