[PATCH 4/4] iommu/exynos: Use bus_set_iommu instead of register_iommu
KyongHo Cho
pullip.cho at samsung.com
Fri Sep 23 20:38:46 EDT 2011
This replaces register_iommu() with bus_set_iommu() according to the
suggestion of Joerg Roedel.
Cc: Joerg Roedel <joerg.roedel at amd.com>
Signed-off-by: KyongHo Cho <pullip.cho at samsung.com>
---
drivers/iommu/exynos_iommu.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/iommu/exynos_iommu.c b/drivers/iommu/exynos_iommu.c
index fe5b5d8..148e238 100644
--- a/drivers/iommu/exynos_iommu.c
+++ b/drivers/iommu/exynos_iommu.c
@@ -852,7 +852,7 @@ static int __init exynos_iommu_init(void)
if (!l2table_cachep)
return -ENOMEM;
- register_iommu(&exynos_iommu_ops);
+ bus_set_iommu(&platform_bus_type, &omap_iommu_ops);
return 0;
}
--
1.7.1
More information about the linux-arm-kernel
mailing list