projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a65bc64
)
iommu/msm: Use bus_set_iommu instead of register_iommu
author
Joerg Roedel
<joerg.roedel@amd.com>
Tue, 6 Sep 2011 15:56:07 +0000
(17:56 +0200)
committer
Joerg Roedel
<joerg.roedel@amd.com>
Fri, 21 Oct 2011 12:37:23 +0000
(14:37 +0200)
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>
drivers/iommu/msm_iommu.c
patch
|
blob
|
history
diff --git
a/drivers/iommu/msm_iommu.c
b/drivers/iommu/msm_iommu.c
index d1733f672f1671a959235f63908203ef0194bd67..5865dd2e28f928b0cf55ff1c5ebddfe5786e1d16 100644
(file)
--- 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;
}