Re: [PATCH 09/10] iommu/msm: Use bus_set_iommu instead ofregister_iommu

From: David Brown
Date: Fri Sep 23 2011 - 13:44:45 EST


On Fri, Sep 23, 2011 at 05:45:55PM +0200, Joerg Roedel wrote:
> Convert the MSM IOMMU driver for ARM to use the new
> interface for publishing the iommu_ops.
>
> Cc: David Brown <davidb@xxxxxxxxxxxxxx>
> Signed-off-by: Joerg Roedel <joerg.roedel@xxxxxxx>
> ---
> drivers/iommu/msm_iommu.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/iommu/msm_iommu.c b/drivers/iommu/msm_iommu.c
> index d1733f6..5865dd2 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;
> }

Acked-by: David Brown <davidb@xxxxxxxxxxxxxx>

--
Sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/