Skip to content

Commit

Permalink
iommu/msm: Use bus_set_iommu instead of register_iommu
Browse files Browse the repository at this point in the history
Convert the MSM IOMMU driver for ARM to use the new
interface for publishing the iommu_ops.

Acked-by: David Brown <davidb@codeaurora.org>
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
  • Loading branch information
Joerg Roedel committed Oct 21, 2011
1 parent a65bc64 commit 85eebbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/iommu/msm_iommu.c
Original file line number Diff line number Diff line change
Expand Up @@ -728,7 +728,7 @@ static void __init setup_iommu_tex_classes(void)
static int __init msm_iommu_init(void)
{
setup_iommu_tex_classes();
register_iommu(&msm_iommu_ops);
bus_set_iommu(&platform_bus_type, &msm_iommu_ops);
return 0;
}

Expand Down

0 comments on commit 85eebbc

Please sign in to comment.