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

Commit a65bc64f authored by Joerg Roedel's avatar Joerg Roedel
Browse files

iommu/omap: Use bus_set_iommu instead of register_iommu



Convert the OMAP IOMMU driver on ARM to use the new
interface for publishing the iommu_ops.

Cc: Ohad Ben-Cohen <ohad@wizery.com>
Signed-off-by: default avatarJoerg Roedel <joerg.roedel@amd.com>
parent 4236d97d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1250,7 +1250,7 @@ static int __init omap_iommu_init(void)
		return -ENOMEM;
	iopte_cachep = p;

	register_iommu(&omap_iommu_ops);
	bus_set_iommu(&platform_bus_type, &omap_iommu_ops);

	return platform_driver_register(&omap_iommu_driver);
}