[ARM] pxa: avoid polluting the kernel's namespace
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Fri, 28 Nov 2008 16:04:54 +0000 (16:04 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 28 Nov 2008 16:04:54 +0000 (16:04 +0000)
Avoid unnecessarily pollution of the kernel's namespace by avoiding
mach/hardware.h.  Include this header file where necessary.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-pxa/ezx.c
arch/arm/mach-pxa/include/mach/io.h
arch/arm/mach-pxa/smemc.c
arch/arm/mach-pxa/time.c
drivers/mmc/host/pxamci.c
drivers/net/irda/pxaficp_ir.c
drivers/net/smc91x.h

index cc3d850cc0b6bc961cd42c6a46f09e476efdcaee..83c56d3abacbda639d19e6052217a7892cf3ee6a 100644 (file)
@@ -21,6 +21,7 @@
 #include <mach/pxafb.h>
 #include <mach/ohci.h>
 #include <mach/i2c.h>
+#include <mach/hardware.h>
 
 #include <mach/mfp-pxa27x.h>
 #include <mach/pxa-regs.h>
index 600fd4f76603a51c6145839d74f0e5832ed790e8..38cb2123e9b2bfa3e12c84683c217b8a3432f192 100644 (file)
@@ -6,8 +6,6 @@
 #ifndef __ASM_ARM_ARCH_IO_H
 #define __ASM_ARM_ARCH_IO_H
 
-#include <mach/hardware.h>
-
 #define IO_SPACE_LIMIT 0xffffffff
 
 /*
index ad346addc028b849cec3ab100769475d02f4cd6f..d6f6904132a62328895909c7ab39df69daf26b79 100644 (file)
@@ -8,6 +8,8 @@
 #include <linux/io.h>
 #include <linux/sysdev.h>
 
+#include <mach/hardware.h>
+
 #define SMEMC_PHYS_BASE        (0x4A000000)
 #define SMEMC_PHYS_SIZE        (0x90)
 
index f8a9a62959e5bfe9cb426e75560efb17a08f7194..ef4ddf9d5040b7479f0a95f235d5de617ba8bdf5 100644 (file)
@@ -22,6 +22,7 @@
 #include <asm/div64.h>
 #include <asm/mach/irq.h>
 #include <asm/mach/time.h>
+#include <mach/hardware.h>
 #include <mach/pxa-regs.h>
 #include <asm/mach-types.h>
 
index a1700a80e2fddb82a854fcda4cbe52c32bbd798c..e9b0159de521e43868bfeea5d39239af13706b24 100644 (file)
 #include <linux/clk.h>
 #include <linux/err.h>
 #include <linux/mmc/host.h>
+#include <linux/io.h>
 
 #include <asm/dma.h>
-#include <asm/io.h>
 #include <asm/sizes.h>
 
+#include <mach/hardware.h>
 #include <mach/pxa-regs.h>
 #include <mach/mmc.h>
 
index c5b02b66f7560a570210f075e6d72eda219e97df..50b839da140e9ae523e8d49f5a07646ea7996b14 100644 (file)
@@ -24,6 +24,7 @@
 
 #include <asm/dma.h>
 #include <mach/irda.h>
+#include <mach/hardware.h>
 #include <mach/pxa-regs.h>
 
 #define IrSR_RXPL_NEG_IS_ZERO (1<<4)
index a07cc9351c6bfd7568fe3502f5242cb3034e9b19..22576e0a6d18cac831e3f6d62f4a9b6445ada171 100644 (file)
@@ -528,6 +528,7 @@ struct smc_local {
  */
 #include <linux/dma-mapping.h>
 #include <asm/dma.h>
+#include <mach/hardware.h>
 #include <mach/pxa-regs.h>
 
 #ifdef SMC_insl