summaryrefslogtreecommitdiffstats
path: root/kernel/dma/dummy.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2020-09-22 15:31:03 +0200
committerChristoph Hellwig <hch@lst.de>2020-10-06 07:07:03 +0200
commit0a0f0d8be76dcd4390ff538e7060fda34db79717 (patch)
treeaed0f5d05ab17e47b0dc39eb464309dadc5f3bdd /kernel/dma/dummy.c
parentcma: decrease CMA_ALIGNMENT lower limit to 2 (diff)
downloadlinux-0a0f0d8be76dcd4390ff538e7060fda34db79717.tar.xz
linux-0a0f0d8be76dcd4390ff538e7060fda34db79717.zip
dma-mapping: split <linux/dma-mapping.h>
Split out all the bits that are purely for dma_map_ops implementations and related code into a new <linux/dma-map-ops.h> header so that they don't get pulled into all the drivers. That also means the architecture specific <asm/dma-mapping.h> is not pulled in by <linux/dma-mapping.h> any more, which leads to a missing includes that were pulled in by the x86 or arm versions in a few not overly portable drivers. Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'kernel/dma/dummy.c')
-rw-r--r--kernel/dma/dummy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/dma/dummy.c b/kernel/dma/dummy.c
index 6974b1bd7d0b..eacd4c5b10bf 100644
--- a/kernel/dma/dummy.c
+++ b/kernel/dma/dummy.c
@@ -2,7 +2,7 @@
/*
* Dummy DMA ops that always fail.
*/
-#include <linux/dma-mapping.h>
+#include <linux/dma-map-ops.h>
static int dma_dummy_mmap(struct device *dev, struct vm_area_struct *vma,
void *cpu_addr, dma_addr_t dma_addr, size_t size,