Skip to content

Commit

Permalink
iommu/omap: Use bus_set_iommu instead of register_iommu
Browse files Browse the repository at this point in the history
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: Joerg Roedel <joerg.roedel@amd.com>
  • Loading branch information
Joerg Roedel committed Oct 21, 2011
1 parent 4236d97 commit a65bc64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/iommu/omap-iommu.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit a65bc64

Please sign in to comment.