ANDROID: GKI: add missing exports for cam_smmu_api.ko
The following symbols are exported: - iommu_dma_enable_best_fit_algo - iommu_dma_reserve_iova Signed-off-by: CY Tseng <cytseng@google.com> Bug: 156262756 Test: compile Change-Id: I6127d076b49a8a81f0c67724d531ed0507eea8a5 (cherry picked from commit 9dcd3e2c5c99c9cb5ce225192ca8cdafb91bfbe8) Signed-off-by: Will McVicker <willmcvicker@google.com>
This commit is contained in:
@@ -340,6 +340,7 @@ int iommu_dma_reserve_iova(struct device *dev, dma_addr_t base,
|
||||
|
||||
return 0;
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(iommu_dma_reserve_iova);
|
||||
|
||||
/*
|
||||
* Should be called prior to using dma-apis.
|
||||
@@ -357,6 +358,7 @@ int iommu_dma_enable_best_fit_algo(struct device *dev)
|
||||
iovad->best_fit = true;
|
||||
return 0;
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(iommu_dma_enable_best_fit_algo);
|
||||
|
||||
/**
|
||||
* dma_info_to_prot - Translate DMA API directions and attributes to IOMMU API
|
||||
|
||||
Reference in New Issue
Block a user