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:
e5aa7f0
)
iommu/amd: 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:21 +0000
(14:37 +0200)
Convert the AMD IOMMU driver to use the new interface for
publishing the iommu_ops.
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
drivers/iommu/amd_iommu.c
patch
|
blob
|
history
diff --git
a/drivers/iommu/amd_iommu.c
b/drivers/iommu/amd_iommu.c
index a14f8dc23462229c8ba34d6aec18a14eb3fcaf7a..57f6f38ca4f677c21befa26dd6221980f2d26564 100644
(file)
--- a/
drivers/iommu/amd_iommu.c
+++ b/
drivers/iommu/amd_iommu.c
@@
-2493,7
+2493,7
@@
static unsigned device_dma_ops_init(void)
void __init amd_iommu_init_api(void)
{
-
register_iommu(
&amd_iommu_ops);
+
bus_set_iommu(&pci_bus_type,
&amd_iommu_ops);
}
int __init amd_iommu_init_dma_ops(void)