diff options
author | Joerg Roedel <joerg.roedel@amd.com> | 2011-09-06 11:56:07 -0400 |
---|---|---|
committer | Joerg Roedel <joerg.roedel@amd.com> | 2011-10-21 08:37:22 -0400 |
commit | a65bc64f91623b9f7ef1fc7afa27e857c7b6e4a2 (patch) | |
tree | b1403ddc1c9bfabd13d290b6076023e863578a04 /drivers/iommu/omap-iommu.c | |
parent | 4236d97df69970680a017cf9255041c827c42b45 (diff) |
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>
Diffstat (limited to 'drivers/iommu/omap-iommu.c')
-rw-r--r-- | drivers/iommu/omap-iommu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iommu/omap-iommu.c b/drivers/iommu/omap-iommu.c index bd5f6064c74a..16d5b76fb449 100644 --- a/drivers/iommu/omap-iommu.c +++ b/drivers/iommu/omap-iommu.c | |||
@@ -1250,7 +1250,7 @@ static int __init omap_iommu_init(void) | |||
1250 | return -ENOMEM; | 1250 | return -ENOMEM; |
1251 | iopte_cachep = p; | 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 | return platform_driver_register(&omap_iommu_driver); | 1255 | return platform_driver_register(&omap_iommu_driver); |
1256 | } | 1256 | } |