From: Joerg Roedel Date: Tue, 6 Sep 2011 15:56:07 +0000 (+0200) Subject: iommu/msm: Use bus_set_iommu instead of register_iommu X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=85eebbc5e4633e6eee10bdddd00d175daadd5841;p=linux-beck.git 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 Signed-off-by: Joerg Roedel --- diff --git a/drivers/iommu/msm_iommu.c b/drivers/iommu/msm_iommu.c index d1733f672f16..5865dd2e28f9 100644 --- a/drivers/iommu/msm_iommu.c +++ b/drivers/iommu/msm_iommu.c @@ -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; }