|
@@ -1967,10 +1967,10 @@ static int __init arm_smmu_init(void)
|
|
|
return ret;
|
|
|
|
|
|
/* Oh, for a proper bus abstraction */
|
|
|
- if (!iommu_present(&platform_bus_type));
|
|
|
+ if (!iommu_present(&platform_bus_type))
|
|
|
bus_set_iommu(&platform_bus_type, &arm_smmu_ops);
|
|
|
|
|
|
- if (!iommu_present(&amba_bustype));
|
|
|
+ if (!iommu_present(&amba_bustype))
|
|
|
bus_set_iommu(&amba_bustype, &arm_smmu_ops);
|
|
|
|
|
|
return 0;
|