diff options
author | Joerg Roedel <joerg.roedel@amd.com> | 2011-09-06 11:56:07 -0400 |
---|---|---|
committer | Joerg Roedel <joerg.roedel@amd.com> | 2011-10-21 08:37:21 -0400 |
commit | 2cc21c4236f0d1fb67a30d87cfb0f49f185690a0 (patch) | |
tree | 914306040d55b9e87bbaf9b539b0d761a06d3ee2 /drivers/iommu | |
parent | e5aa7f00776f2d73f410ede5c1f68246cdc83de1 (diff) |
iommu/amd: Use bus_set_iommu instead of register_iommu
Convert the AMD IOMMU driver to use the new interface for
publishing the iommu_ops.
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Diffstat (limited to 'drivers/iommu')
-rw-r--r-- | drivers/iommu/amd_iommu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iommu/amd_iommu.c b/drivers/iommu/amd_iommu.c index a14f8dc23462..57f6f38ca4f6 100644 --- a/drivers/iommu/amd_iommu.c +++ b/drivers/iommu/amd_iommu.c | |||
@@ -2493,7 +2493,7 @@ static unsigned device_dma_ops_init(void) | |||
2493 | 2493 | ||
2494 | void __init amd_iommu_init_api(void) | 2494 | void __init amd_iommu_init_api(void) |
2495 | { | 2495 | { |
2496 | register_iommu(&amd_iommu_ops); | 2496 | bus_set_iommu(&pci_bus_type, &amd_iommu_ops); |
2497 | } | 2497 | } |
2498 | 2498 | ||
2499 | int __init amd_iommu_init_dma_ops(void) | 2499 | int __init amd_iommu_init_dma_ops(void) |