Commit a65bc64f91623b9f7ef1fc7afa27e857c7b6e4a2

Authored by Joerg Roedel
1 parent 4236d97df6

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>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

drivers/iommu/omap-iommu.c
... ... @@ -1250,7 +1250,7 @@
1250 1250 return -ENOMEM;
1251 1251 iopte_cachep = p;
1252 1252  
1253   - register_iommu(&omap_iommu_ops);
  1253 + bus_set_iommu(&platform_bus_type, &omap_iommu_ops);
1254 1254  
1255 1255 return platform_driver_register(&omap_iommu_driver);
1256 1256 }