summaryrefslogtreecommitdiff
path: root/gxp-domain-pool.c
diff options
context:
space:
mode:
Diffstat (limited to 'gxp-domain-pool.c')
-rw-r--r--gxp-domain-pool.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gxp-domain-pool.c b/gxp-domain-pool.c
index 2f6167b..44a976a 100644
--- a/gxp-domain-pool.c
+++ b/gxp-domain-pool.c
@@ -43,7 +43,7 @@ int gxp_domain_pool_init(struct gxp_dev *gxp,
#if IS_ENABLED(CONFIG_GXP_GEM5)
for (i = 0; i < size; i++) {
- struct iommu_domain *domain = pool->array[i];
+ struct iommu_domain *domain = pool->domain_pool.array[i];
/*
* Gem5 uses arm-smmu-v3 which requires domain finalization to do iommu map. Calling
@@ -55,7 +55,7 @@ int gxp_domain_pool_init(struct gxp_dev *gxp,
dev_err(gxp->dev,
"Failed to attach device to iommu domain %d of %u, ret=%d\n",
i + 1, size, ret);
- gxp_domain_pool_destroy(pool);
+ gcip_iommu_domain_pool_destroy(pool);
return ret;
}