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:
4236d97
)
iommu/omap: 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:22 +0000
(14:37 +0200)
Convert the OMAP IOMMU driver on ARM to use the new
interface for publishing the iommu_ops.
Cc: Ohad Ben-Cohen <ohad@wizery.com>
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
drivers/iommu/omap-iommu.c
patch
|
blob
|
history
diff --git
a/drivers/iommu/omap-iommu.c
b/drivers/iommu/omap-iommu.c
index bd5f6064c74adb0287a76ce74f7ba24a3e3b3ba9..16d5b76fb449ebe2473ab0875e99c662fddbe3f9 100644
(file)
--- a/
drivers/iommu/omap-iommu.c
+++ b/
drivers/iommu/omap-iommu.c
@@
-1250,7
+1250,7
@@
static int __init omap_iommu_init(void)
return -ENOMEM;
iopte_cachep = p;
-
register_iommu(
&omap_iommu_ops);
+
bus_set_iommu(&platform_bus_type,
&omap_iommu_ops);
return platform_driver_register(&omap_iommu_driver);
}