Skip to content

Commit

Permalink
iommu/vt-d: Use bus_set_iommu instead of register_iommu
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Joerg Roedel committed Oct 21, 2011
1 parent 2cc21c4 commit 4236d97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/iommu/intel-iommu.c
Original file line number Diff line number Diff line change
Expand Up @@ -3486,7 +3486,7 @@ int __init intel_iommu_init(void)

init_iommu_pm_ops();

register_iommu(&intel_iommu_ops);
bus_set_iommu(&pci_bus_type, &intel_iommu_ops);

bus_register_notifier(&pci_bus_type, &device_nb);

Expand Down

0 comments on commit 4236d97

Please sign in to comment.