diff options
author | Christoph Hellwig <hch@lst.de> | 2020-09-22 16:31:03 +0300 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2020-10-06 08:07:03 +0300 |
commit | 0a0f0d8be76dcd4390ff538e7060fda34db79717 (patch) | |
tree | aed0f5d05ab17e47b0dc39eb464309dadc5f3bdd /kernel/dma/virt.c | |
parent | 0de327969b61a245e3a47b60009eae73fe513cef (diff) | |
download | linux-0a0f0d8be76dcd4390ff538e7060fda34db79717.tar.xz |
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/virt.c')
-rw-r--r-- | kernel/dma/virt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/dma/virt.c b/kernel/dma/virt.c index 6986bf1fd668..59d32317dd57 100644 --- a/kernel/dma/virt.c +++ b/kernel/dma/virt.c @@ -4,7 +4,7 @@ */ #include <linux/export.h> #include <linux/mm.h> -#include <linux/dma-mapping.h> +#include <linux/dma-map-ops.h> #include <linux/scatterlist.h> static void *dma_virt_alloc(struct device *dev, size_t size, |