sparc: remove not required includes from dma-mapping.h
authorChristoph Hellwig <hch@lst.de>
Mon, 3 Dec 2018 13:21:58 +0000 (14:21 +0100)
committerChristoph Hellwig <hch@lst.de>
Tue, 11 Dec 2018 13:45:42 +0000 (14:45 +0100)
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>
arch/sparc/include/asm/dma-mapping.h

index b0bb2fcaf1c90e78ed9b25e9890dde8a84f79ed2..55a44f08a9a45f991114aa3ba50c101491a1c610 100644 (file)
@@ -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;