aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iommu
diff options
context:
space:
mode:
authorAndreas Herrmann <andreas.herrmann@calxeda.com>2013-10-01 08:39:05 -0400
committerWill Deacon <will.deacon@arm.com>2013-10-09 09:14:39 -0400
commitb1950b2796da80b66df02db39cc3417266b73767 (patch)
tree96f0007849e284f21047cd95db05f505bedeb02c /drivers/iommu
parent25724841dfaed05f23a3ddaaaed5c9b61ceea7bd (diff)
iommu/arm-smmu: Switch to subsys_initcall for driver registration
This should ensure that arm-smmu is initialized before other drivers start handling devices that propably need smmu support. Signed-off-by: Andreas Herrmann <andreas.herrmann@calxeda.com> Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'drivers/iommu')
-rw-r--r--drivers/iommu/arm-smmu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iommu/arm-smmu.c b/drivers/iommu/arm-smmu.c
index 293192150f5a..878a5b926fe5 100644
--- a/drivers/iommu/arm-smmu.c
+++ b/drivers/iommu/arm-smmu.c
@@ -1976,7 +1976,7 @@ static void __exit arm_smmu_exit(void)
1976 return platform_driver_unregister(&arm_smmu_driver); 1976 return platform_driver_unregister(&arm_smmu_driver);
1977} 1977}
1978 1978
1979module_init(arm_smmu_init); 1979subsys_initcall(arm_smmu_init);
1980module_exit(arm_smmu_exit); 1980module_exit(arm_smmu_exit);
1981 1981
1982MODULE_DESCRIPTION("IOMMU API for ARM architected SMMU implementations"); 1982MODULE_DESCRIPTION("IOMMU API for ARM architected SMMU implementations");