projects
/
profile
/
ivi
/
kernel-x86-ivi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2cc21c4
)
iommu/vt-d: 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 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>
drivers/iommu/intel-iommu.c
patch
|
blob
|
history
diff --git
a/drivers/iommu/intel-iommu.c
b/drivers/iommu/intel-iommu.c
index c621c98c99da00886931b3aed1b8364c7de6b958..2d53c3df12dca75d47ba7cb9344f42398f3566e1 100644
(file)
--- a/
drivers/iommu/intel-iommu.c
+++ b/
drivers/iommu/intel-iommu.c
@@
-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);