diff options
author | Joerg Roedel <joerg.roedel@amd.com> | 2011-09-06 17:56:07 +0200 |
---|---|---|
committer | Joerg Roedel <joerg.roedel@amd.com> | 2011-10-21 14:37:23 +0200 |
commit | 85eebbc5e4633e6eee10bdddd00d175daadd5841 (patch) | |
tree | c20104d8db6f9794ddc671411727af585cde77a0 /drivers/iommu/msm_iommu.c | |
parent | a65bc64f91623b9f7ef1fc7afa27e857c7b6e4a2 (diff) | |
download | lwn-85eebbc5e4633e6eee10bdddd00d175daadd5841.tar.gz lwn-85eebbc5e4633e6eee10bdddd00d175daadd5841.zip |
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 <davidb@codeaurora.org>
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Diffstat (limited to 'drivers/iommu/msm_iommu.c')
-rw-r--r-- | 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 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; } |