diff options
author | Andreas Herrmann <andreas.herrmann@calxeda.com> | 2013-10-01 13:39:05 +0100 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2013-10-09 14:14:39 +0100 |
commit | b1950b2796da80b66df02db39cc3417266b73767 (patch) | |
tree | 96f0007849e284f21047cd95db05f505bedeb02c /drivers/iommu | |
parent | 25724841dfaed05f23a3ddaaaed5c9b61ceea7bd (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.c | 2 |
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) return platform_driver_unregister(&arm_smmu_driver); } -module_init(arm_smmu_init); +subsys_initcall(arm_smmu_init); module_exit(arm_smmu_exit); MODULE_DESCRIPTION("IOMMU API for ARM architected SMMU implementations"); |