summaryrefslogtreecommitdiff
path: root/kernel/dma/Makefile
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2020-08-18 09:30:44 +0200
committerChristoph Hellwig <hch@lst.de>2020-09-11 09:14:56 +0200
commit545d29272f38ba4791cca2a5a86fe6766f462f18 (patch)
tree3977606168e9b428a34072b39d14a98d38a9777b /kernel/dma/Makefile
parent5ceda74093a5c1c3f42a02b894df031f3bbc9af1 (diff)
dma-mapping: move dma_common_{mmap,get_sgtable} out of mapping.c
Add a new file that contains helpers for misc DMA ops, which is only built when CONFIG_DMA_OPS is set. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Robin Murphy <robin.murphy@arm.com>
Diffstat (limited to 'kernel/dma/Makefile')
-rw-r--r--kernel/dma/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/dma/Makefile b/kernel/dma/Makefile
index 32c7c1942bbd..dc755ab68aab 100644
--- a/kernel/dma/Makefile
+++ b/kernel/dma/Makefile
@@ -1,6 +1,7 @@
# SPDX-License-Identifier: GPL-2.0
obj-$(CONFIG_HAS_DMA) += mapping.o direct.o
+obj-$(CONFIG_DMA_OPS) += ops_helpers.o
obj-$(CONFIG_DMA_OPS) += dummy.o
obj-$(CONFIG_DMA_CMA) += contiguous.o
obj-$(CONFIG_DMA_DECLARE_COHERENT) += coherent.o