dect
/
linux-2.6
Archived
13
0
Fork 0

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: Joerg Roedel <joerg.roedel@amd.com>
This commit is contained in:
Joerg Roedel 2011-09-06 17:56:07 +02:00
parent 4236d97df6
commit a65bc64f91
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}