diff options
author | Christoph Hellwig <hch@lst.de> | 2018-06-12 13:01:45 -0400 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2018-06-14 02:50:37 -0400 |
commit | cf65a0f6f6ff7631ba0ac0513a14ca5b65320d80 (patch) | |
tree | a81edcdf00e5a6e99fc2064fbcd9de4f33a4684f /kernel/dma/Makefile | |
parent | e37460c1ca08cf9d3b82eb3b6f205888d8d01182 (diff) |
dma-mapping: move all DMA mapping code to kernel/dma
Currently the code is split over various files with dma- prefixes in the
lib/ and drives/base directories, and the number of files keeps growing.
Move them into a single directory to keep the code together and remove
the file name prefixes. To match the irq infrastructure this directory
is placed under the kernel/ directory.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'kernel/dma/Makefile')
-rw-r--r-- | kernel/dma/Makefile | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/kernel/dma/Makefile b/kernel/dma/Makefile new file mode 100644 index 000000000000..6de44e4eb454 --- /dev/null +++ b/kernel/dma/Makefile | |||
@@ -0,0 +1,11 @@ | |||
1 | # SPDX-License-Identifier: GPL-2.0 | ||
2 | |||
3 | obj-$(CONFIG_HAS_DMA) += mapping.o | ||
4 | obj-$(CONFIG_DMA_CMA) += contiguous.o | ||
5 | obj-$(CONFIG_HAVE_GENERIC_DMA_COHERENT) += coherent.o | ||
6 | obj-$(CONFIG_DMA_DIRECT_OPS) += direct.o | ||
7 | obj-$(CONFIG_DMA_NONCOHERENT_OPS) += noncoherent.o | ||
8 | obj-$(CONFIG_DMA_VIRT_OPS) += virt.o | ||
9 | obj-$(CONFIG_DMA_API_DEBUG) += debug.o | ||
10 | obj-$(CONFIG_SWIOTLB) += swiotlb.o | ||
11 | |||