소스 검색

[ARM] ixp4xx: clean up includes

mach/io.h doesn't need linux/mm.h.
mach/dma.h doesn't need linux/device.h, asm/page.h or mach/hardware.h

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Russell King 16 년 전
부모
커밋
4b78a9ffab
2개의 변경된 파일1개의 추가작업 그리고 5개의 파일을 삭제
  1. 1 3
      arch/arm/mach-ixp4xx/include/mach/dma.h
  2. 0 2
      arch/arm/mach-ixp4xx/include/mach/io.h

+ 1 - 3
arch/arm/mach-ixp4xx/include/mach/dma.h

@@ -11,10 +11,8 @@
 #ifndef __ASM_ARCH_DMA_H
 #ifndef __ASM_ARCH_DMA_H
 #define __ASM_ARCH_DMA_H
 #define __ASM_ARCH_DMA_H
 
 
-#include <linux/device.h>
-#include <asm/page.h>
+#include <asm/memory.h>
 #include <asm/sizes.h>
 #include <asm/sizes.h>
-#include <mach/hardware.h>
 
 
 #define MAX_DMA_ADDRESS		(PAGE_OFFSET + SZ_64M)
 #define MAX_DMA_ADDRESS		(PAGE_OFFSET + SZ_64M)
 
 

+ 0 - 2
arch/arm/mach-ixp4xx/include/mach/io.h

@@ -49,8 +49,6 @@ extern int ixp4xx_pci_write(u32 addr, u32 cmd, u32 data);
 
 
 #else
 #else
 
 
-#include <linux/mm.h>
-
 /*
 /*
  * In the case of using indirect PCI, we simply return the actual PCI
  * In the case of using indirect PCI, we simply return the actual PCI
  * address and our read/write implementation use that to drive the 
  * address and our read/write implementation use that to drive the