diff options
author | Christoph Hellwig <hch@lst.de> | 2020-08-18 09:30:44 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2020-09-11 09:14:56 +0200 |
commit | 545d29272f38ba4791cca2a5a86fe6766f462f18 (patch) | |
tree | 3977606168e9b428a34072b39d14a98d38a9777b /kernel/dma/Makefile | |
parent | 5ceda74093a5c1c3f42a02b894df031f3bbc9af1 (diff) | |
download | linux-545d29272f38ba4791cca2a5a86fe6766f462f18.tar.bz2 |
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/Makefile | 1 |
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 |