Skip to content

Commit 85eebbc

Browse files
committed
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: David Brown <[email protected]> Signed-off-by: Joerg Roedel <[email protected]>
1 parent a65bc64 commit 85eebbc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/iommu/msm_iommu.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -728,7 +728,7 @@ static void __init setup_iommu_tex_classes(void)
728728
static int __init msm_iommu_init(void)
729729
{
730730
setup_iommu_tex_classes();
731-
register_iommu(&msm_iommu_ops);
731+
bus_set_iommu(&platform_bus_type, &msm_iommu_ops);
732732
return 0;
733733
}
734734

0 commit comments

Comments
 (0)