summaryrefslogtreecommitdiffstats
path: root/kernel/dma/coherent.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2019-01-01 17:14:39 +0100
committerChristoph Hellwig <hch@lst.de>2019-01-04 09:03:17 +0100
commit48e638fb68be8fecdca0611beff53a9c947704e3 (patch)
tree185000d4252a695a91d045278253b9dbee58b2a4 /kernel/dma/coherent.c
parentdma-mapping: properly stub out the DMA API for !CONFIG_HAS_DMA (diff)
downloadlinux-48e638fb68be8fecdca0611beff53a9c947704e3.tar.xz
linux-48e638fb68be8fecdca0611beff53a9c947704e3.zip
dma-mapping: remove a few unused exports
Now that the slow path DMA API calls are implemented out of line a few helpers only used by them don't need to be exported anymore. Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'kernel/dma/coherent.c')
-rw-r--r--kernel/dma/coherent.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/kernel/dma/coherent.c b/kernel/dma/coherent.c
index 597d40893862..66f0fb7e9a3a 100644
--- a/kernel/dma/coherent.c
+++ b/kernel/dma/coherent.c
@@ -223,7 +223,6 @@ int dma_alloc_from_dev_coherent(struct device *dev, ssize_t size,
*/
return mem->flags & DMA_MEMORY_EXCLUSIVE;
}
-EXPORT_SYMBOL(dma_alloc_from_dev_coherent);
void *dma_alloc_from_global_coherent(ssize_t size, dma_addr_t *dma_handle)
{
@@ -268,7 +267,6 @@ int dma_release_from_dev_coherent(struct device *dev, int order, void *vaddr)
return __dma_release_from_coherent(mem, order, vaddr);
}
-EXPORT_SYMBOL(dma_release_from_dev_coherent);
int dma_release_from_global_coherent(int order, void *vaddr)
{