]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[ARM] ixp4xx: clean up includes
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Fri, 28 Nov 2008 21:12:40 +0000 (21:12 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 28 Nov 2008 23:19:56 +0000 (23:19 +0000)
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>
arch/arm/mach-ixp4xx/include/mach/dma.h
arch/arm/mach-ixp4xx/include/mach/io.h

index 00c5070c0201dc8d402aadbf33425071bac8cb70..65944f252664a008a32884a2d6bff39224affa14 100644 (file)
 #ifndef __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 <mach/hardware.h>
 
 #define MAX_DMA_ADDRESS                (PAGE_OFFSET + SZ_64M)
 
index 319948e31bec2d95d16ac669bdf86c005ed3b161..b7f780f574fad2dda5fdeb4ad52da0ddfa2dcc71 100644 (file)
@@ -49,8 +49,6 @@ extern int ixp4xx_pci_write(u32 addr, u32 cmd, u32 data);
 
 #else
 
-#include <linux/mm.h>
-
 /*
  * In the case of using indirect PCI, we simply return the actual PCI
  * address and our read/write implementation use that to drive the