Skip to contentSkip to conversation

sparc: remove not required includes from dma-mapping.h

PATCH In review Christoph Hellwig 1 participant 1 message Dec 7, 2018 SPARC + UltraSPARC (sparc/sparc64)

lore
Share & tools
lore
#0 lore raw

PATCH 4/4 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.

---
 arch/sparc/include/asm/dma-mapping.h | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
arch/sparc/include/asm/dma-mapping.h +1 -3
index b0bb2fcaf1c9..55a44f08a9a4 100644
@@ -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;
 
Signature · 1 line
2.19.1