summaryrefslogtreecommitdiffstats
path: root/kernel/dma/mapping.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2020-09-11 10:12:44 +0200
committerChristoph Hellwig <hch@lst.de>2020-10-06 07:07:05 +0200
commita1fd09e8e6ae35228ecc7c1e4bfff1fd725f78a0 (patch)
tree09097eab9b8b979151b207ef218aa4bb2ea0d975 /kernel/dma/mapping.c
parent5db5d93089880c3cc9e83ca8bba68a5502e92dfe (diff)
downloadlinux-a1fd09e8e6ae35228ecc7c1e4bfff1fd725f78a0.tar.bz2
dma-mapping: move dma-debug.h to kernel/dma/
Most of dma-debug.h is not required by anything outside of kernel/dma. Move the four declarations needed by dma-mappin.h or dma-ops providers into dma-mapping.h and dma-map-ops.h, and move the remainder of the file to kernel/dma/debug.h. Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'kernel/dma/mapping.c')
-rw-r--r--kernel/dma/mapping.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/dma/mapping.c b/kernel/dma/mapping.c
index 2e13e6d3903f..335ba183e095 100644
--- a/kernel/dma/mapping.c
+++ b/kernel/dma/mapping.c
@@ -14,6 +14,7 @@
#include <linux/of_device.h>
#include <linux/slab.h>
#include <linux/vmalloc.h>
+#include "debug.h"
/*
* Managed DMA API