Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6614ee77 authored by Dan Carpenter's avatar Dan Carpenter Committed by Will Deacon
Browse files

iommu/arm-smmu: fix iommu_present() test in init



The extra semi-colon on the end breaks the test.

Cc: <stable@vger.kernel.org>
Tested-by: default avatarWill Deacon <will.deacon@arm.com>
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarWill Deacon <will.deacon@arm.com>
parent faea13b7
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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;