projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2572484
)
iommu/arm-smmu: Switch to subsys_initcall for driver registration
author
Andreas Herrmann
<andreas.herrmann@calxeda.com>
Tue, 1 Oct 2013 12:39:05 +0000
(13:39 +0100)
committer
Will Deacon
<will.deacon@arm.com>
Wed, 9 Oct 2013 13:14:39 +0000
(14:14 +0100)
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>
drivers/iommu/arm-smmu.c
patch
|
blob
|
history
diff --git
a/drivers/iommu/arm-smmu.c
b/drivers/iommu/arm-smmu.c
index 293192150f5abdabf13bb46a312279887292047d..878a5b926fe5fc2a144477bdc5306acc04bce0bb 100644
(file)
--- 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");