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

Commit 85eebbc5 authored by Joerg Roedel's avatar Joerg Roedel
Browse files

iommu/msm: Use bus_set_iommu instead of register_iommu



Convert the MSM IOMMU driver for ARM to use the new
interface for publishing the iommu_ops.

Acked-by: default avatarDavid Brown <davidb@codeaurora.org>
Signed-off-by: default avatarJoerg Roedel <joerg.roedel@amd.com>
parent a65bc64f
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -728,7 +728,7 @@ static void __init setup_iommu_tex_classes(void)
static int __init msm_iommu_init(void)
static int __init msm_iommu_init(void)
{
{
	setup_iommu_tex_classes();
	setup_iommu_tex_classes();
	register_iommu(&msm_iommu_ops);
	bus_set_iommu(&platform_bus_type, &msm_iommu_ops);
	return 0;
	return 0;
}
}