mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
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>
This commit is contained in:
parent
e5aa7f0077
commit
2cc21c4236
1 changed files with 1 additions and 1 deletions
|
@ -2493,7 +2493,7 @@ static unsigned device_dma_ops_init(void)
|
||||||
|
|
||||||
void __init amd_iommu_init_api(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)
|
int __init amd_iommu_init_dma_ops(void)
|
||||||
|
|
Loading…
Add table
Reference in a new issue