[PATCH 1/4] iommu: Export iommu_group_default_domain() API
From: Sam Protsenko
Date: Fri Oct 28 2022 - 15:12:56 EST
iommu_group_default_domain() may be needed for module users. E.g.
exynos-iommu driver is using it right now, and it's going to be
converted to a module soon.
Signed-off-by: Sam Protsenko <semen.protsenko@xxxxxxxxxx>
---
drivers/iommu/iommu.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/iommu/iommu.c b/drivers/iommu/iommu.c
index 65a3b3d886dc..257143116185 100644
--- a/drivers/iommu/iommu.c
+++ b/drivers/iommu/iommu.c
@@ -1650,6 +1650,7 @@ struct iommu_domain *iommu_group_default_domain(struct iommu_group *group)
{
return group->default_domain;
}
+EXPORT_SYMBOL_GPL(iommu_group_default_domain);
static int probe_iommu_group(struct device *dev, void *data)
{
--
2.35.1