aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iommu
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iommu')
-rw-r--r--drivers/iommu/arm-smmu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/iommu/arm-smmu.c b/drivers/iommu/arm-smmu.c
index 7243af3b891f..913bd1565e41 100644
--- a/drivers/iommu/arm-smmu.c
+++ b/drivers/iommu/arm-smmu.c
@@ -1967,10 +1967,10 @@ static int __init arm_smmu_init(void)
1967 return ret; 1967 return ret;
1968 1968
1969 /* Oh, for a proper bus abstraction */ 1969 /* Oh, for a proper bus abstraction */
1970 if (!iommu_present(&platform_bus_type)); 1970 if (!iommu_present(&platform_bus_type))
1971 bus_set_iommu(&platform_bus_type, &arm_smmu_ops); 1971 bus_set_iommu(&platform_bus_type, &arm_smmu_ops);
1972 1972
1973 if (!iommu_present(&amba_bustype)); 1973 if (!iommu_present(&amba_bustype))
1974 bus_set_iommu(&amba_bustype, &arm_smmu_ops); 1974 bus_set_iommu(&amba_bustype, &arm_smmu_ops);
1975 1975
1976 return 0; 1976 return 0;