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:22 -0400 |
commit | 4236d97df69970680a017cf9255041c827c42b45 (patch) | |
tree | 8a369e6eed4bf1640b3bd43b732a9f171b877532 /drivers/iommu/intel-iommu.c | |
parent | 2cc21c4236f0d1fb67a30d87cfb0f49f185690a0 (diff) |
iommu/vt-d: Use bus_set_iommu instead of register_iommu
Convert the Intel IOMMU driver to use the new interface for
publishing the iommu_ops.
Cc: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Diffstat (limited to 'drivers/iommu/intel-iommu.c')
-rw-r--r-- | drivers/iommu/intel-iommu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iommu/intel-iommu.c b/drivers/iommu/intel-iommu.c index c621c98c99da..2d53c3df12dc 100644 --- a/drivers/iommu/intel-iommu.c +++ b/drivers/iommu/intel-iommu.c | |||
@@ -3486,7 +3486,7 @@ int __init intel_iommu_init(void) | |||
3486 | 3486 | ||
3487 | init_iommu_pm_ops(); | 3487 | init_iommu_pm_ops(); |
3488 | 3488 | ||
3489 | register_iommu(&intel_iommu_ops); | 3489 | bus_set_iommu(&pci_bus_type, &intel_iommu_ops); |
3490 | 3490 | ||
3491 | bus_register_notifier(&pci_bus_type, &device_nb); | 3491 | bus_register_notifier(&pci_bus_type, &device_nb); |
3492 | 3492 | ||