Skip to contentSkip to conversation

iommu/exynos: Use bus_set_iommu instead of register_iommu

PATCH Superseded 조경호 1 participant 1 message Sep 24, 2011

Subsystems (2)

v1 of 12 Superseded Latest is v12 →

lore
Share & tools
lore

조경호

author
#0 lore raw

PATCH 4/4 iommu/exynos: Use bus_set_iommu instead of register_iommu

This replaces register_iommu() with bus_set_iommu() according to the suggestion of Joerg Roedel.

---
 drivers/iommu/exynos_iommu.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/iommu/exynos_iommu.c +1 -1
index fe5b5d8..148e238 100644
@@ -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;
 }
Signature · 1 line
1.7.1