OSDN Git Service

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 b0bb2fc..55a44f0 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;