summaryrefslogtreecommitdiffstats
path: root/arch/sparc/include
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-12-03 14:21:58 +0100
committerChristoph Hellwig <hch@lst.de>2018-12-11 14:45:42 +0100
commita24ca8a253bd6e2644eba069b78fec80928d7b76 (patch)
treecd2fc72cd716e7c8f56219949db123a5fc8ea647 /arch/sparc/include
parentce65d36f3ea79368170ca58f2efd28cdba3d70e9 (diff)
downloadlinux-stable-a24ca8a253bd6e2644eba069b78fec80928d7b76.tar.gz
linux-stable-a24ca8a253bd6e2644eba069b78fec80928d7b76.tar.bz2
linux-stable-a24ca8a253bd6e2644eba069b78fec80928d7b76.zip
sparc: remove not required includes from dma-mapping.h
The only thing we need to explicitly pull in is the defines for the CPU type. Signed-off-by: Christoph Hellwig <hch@lst.de> Acked-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/include')
-rw-r--r--arch/sparc/include/asm/dma-mapping.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/sparc/include/asm/dma-mapping.h b/arch/sparc/include/asm/dma-mapping.h
index b0bb2fcaf1c9..55a44f08a9a4 100644
--- a/arch/sparc/include/asm/dma-mapping.h
+++ b/arch/sparc/include/asm/dma-mapping.h
@@ -2,9 +2,7 @@
#ifndef ___ASM_SPARC_DMA_MAPPING_H
#define ___ASM_SPARC_DMA_MAPPING_H
-#include <linux/scatterlist.h>
-#include <linux/mm.h>
-#include <linux/dma-debug.h>
+#include <asm/cpu_type.h>
extern const struct dma_map_ops *dma_ops;