Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4a850527 authored by Jordan Crouse's avatar Jordan Crouse
Browse files

iommu: dma-mapping-fast: Export symbols



Export symbols to avoid the following errors:

  ERROR: "fast_smmu_init_mapping" [drivers/iommu/arm-smmu-mod.ko] undefined!
  ERROR: "fast_smmu_put_dma_cookie" [drivers/iommu/arm-smmu-mod.ko] undefined!

Change-Id: Ic0dedbad2b4f1179ea35d87e8189b316a176d3f2
Signed-off-by: default avatarJordan Crouse <jcrouse@codeaurora.org>
parent aa46100c
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright (c) 2016-2019, The Linux Foundation. All rights reserved.
 * Copyright (c) 2016-2020, The Linux Foundation. All rights reserved.
 */

#include <linux/dma-contiguous.h>
@@ -1023,6 +1023,7 @@ void fast_smmu_put_dma_cookie(struct iommu_domain *domain)
	kfree(fast);
	domain->iova_cookie = NULL;
}
EXPORT_SYMBOL(fast_smmu_put_dma_cookie);

const struct dma_map_ops *fast_smmu_get_dma_ops(void)
{
@@ -1076,3 +1077,4 @@ int fast_smmu_init_mapping(struct device *dev, struct iommu_domain *domain,
	fast_smmu_reserve_pci_windows(dev, fast);
	return 0;
}
EXPORT_SYMBOL(fast_smmu_init_mapping);