Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2cc21c42 authored by Joerg Roedel's avatar Joerg Roedel
Browse files

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: default avatarJoerg Roedel <joerg.roedel@amd.com>
parent e5aa7f00
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2493,7 +2493,7 @@ static unsigned device_dma_ops_init(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)