summaryrefslogtreecommitdiff
path: root/kernel/dma/mapping.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2020-09-22 15:34:22 +0200
committerChristoph Hellwig <hch@lst.de>2020-10-06 07:07:06 +0200
commit19c65c3d30bb5a97170e425979d2e44ab2096c7d (patch)
tree89f4a287f94c7f5a584e8de147789f08ec45a592 /kernel/dma/mapping.c
parenta1fd09e8e6ae35228ecc7c1e4bfff1fd725f78a0 (diff)
dma-mapping: move large parts of <linux/dma-direct.h> to kernel/dma
Most of the dma_direct symbols should only be used by direct.c and mapping.c, so move them to kernel/dma. In fact more of dma-direct.h should eventually move, but that will require more coordination with other subsystems. Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'kernel/dma/mapping.c')
-rw-r--r--kernel/dma/mapping.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/dma/mapping.c b/kernel/dma/mapping.c
index 335ba183e095..51bb8fa8eb89 100644
--- a/kernel/dma/mapping.c
+++ b/kernel/dma/mapping.c
@@ -7,7 +7,6 @@
*/
#include <linux/memblock.h> /* for max_pfn */
#include <linux/acpi.h>
-#include <linux/dma-direct.h>
#include <linux/dma-map-ops.h>
#include <linux/export.h>
#include <linux/gfp.h>
@@ -15,6 +14,7 @@
#include <linux/slab.h>
#include <linux/vmalloc.h>
#include "debug.h"
+#include "direct.h"
/*
* Managed DMA API