[ARM] 1/4: Move include of asm/hardware.h to asm-arm/arch-*/io.h
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Fri, 28 Oct 2005 09:20:25 +0000 (10:20 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 28 Oct 2005 09:20:25 +0000 (10:20 +0100)
Including asm/hardware.h into asm/io.h can cause #define clashes
between platform specific definitions and driver local definitions.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
21 files changed:
include/asm-arm/arch-aaec2000/io.h
include/asm-arm/arch-cl7500/io.h
include/asm-arm/arch-clps711x/io.h
include/asm-arm/arch-ebsa110/io.h
include/asm-arm/arch-ebsa285/io.h
include/asm-arm/arch-epxa10db/io.h
include/asm-arm/arch-h720x/io.h
include/asm-arm/arch-imx/io.h
include/asm-arm/arch-integrator/io.h
include/asm-arm/arch-iop3xx/io.h
include/asm-arm/arch-ixp2000/io.h
include/asm-arm/arch-l7200/io.h
include/asm-arm/arch-lh7a40x/io.h
include/asm-arm/arch-omap/io.h
include/asm-arm/arch-pxa/io.h
include/asm-arm/arch-rpc/io.h
include/asm-arm/arch-s3c2410/io.h
include/asm-arm/arch-sa1100/io.h
include/asm-arm/arch-shark/io.h
include/asm-arm/arch-versatile/io.h
include/asm-arm/io.h

index c58a8d10425a3f8304cb9fbe854cde84b52cd2d6..8d67907fd4f05815733d9bd93fb5ae54f9399f3b 100644 (file)
@@ -6,6 +6,8 @@
 #ifndef __ASM_ARM_ARCH_IO_H
 #define __ASM_ARM_ARCH_IO_H
 
+#include <asm/hardware.h>
+
 #define IO_SPACE_LIMIT 0xffffffff
 
 /*
index f0113bc75630bd424ecbf61cb269b23059e380fd..89a33287f4fe6159aa56bbf54ecbc771ea7934b5 100644 (file)
@@ -10,6 +10,8 @@
 #ifndef __ASM_ARM_ARCH_IO_H
 #define __ASM_ARM_ARCH_IO_H
 
+#include <asm/hardware.h>
+
 #define IO_SPACE_LIMIT 0xffffffff
 
 /*
index 14d7e8da5453ff6ce7ed714e8405325ef30b9ebe..62613b0e2d9604dd0f6a919d6e7e47fa2aa05401 100644 (file)
@@ -20,6 +20,8 @@
 #ifndef __ASM_ARM_ARCH_IO_H
 #define __ASM_ARM_ARCH_IO_H
 
+#include <asm/hardware.h>
+
 #define IO_SPACE_LIMIT 0xffffffff
 
 #define __io(a)                        ((void __iomem *)(a))
index 68e04c0bb3f74db0ff1baf18bcc49ef1044b9b81..ecf43363424673cc373b8d874674e8307917bce7 100644 (file)
@@ -13,6 +13,8 @@
 #ifndef __ASM_ARM_ARCH_IO_H
 #define __ASM_ARM_ARCH_IO_H
 
+#include <asm/hardware.h>
+
 #define IO_SPACE_LIMIT 0xffff
 
 u8 __inb8(unsigned int port);
index 70576b17f9224a15384cabe7217d8576c1374bbb..776f9d377057d002082257902721e3f3d52f6cf0 100644 (file)
@@ -14,6 +14,8 @@
 #ifndef __ASM_ARM_ARCH_IO_H
 #define __ASM_ARM_ARCH_IO_H
 
+#include <asm/hardware.h>
+
 #define IO_SPACE_LIMIT 0xffff
 
 /*
index 1f0afa2576218053b007813c7c6e9517fb89b198..9fe100c9d6be44f6675909a3da39fab51019c4e3 100644 (file)
@@ -20,6 +20,8 @@
 #ifndef __ASM_ARM_ARCH_IO_H
 #define __ASM_ARM_ARCH_IO_H
 
+#include <asm/hardware.h>
+
 #define IO_SPACE_LIMIT 0xffff
 
 
index 68814828c9a74f24cf752ac3064663cb8e5569c7..d3ccfd8172b716d1070c76273bfa11bef9580ca5 100644 (file)
@@ -14,7 +14,7 @@
 #ifndef __ASM_ARM_ARCH_IO_H
 #define __ASM_ARM_ARCH_IO_H
 
-#include <asm/arch/hardware.h>
+#include <asm/hardware.h>
 
 #define IO_SPACE_LIMIT 0xffffffff
 
index 28a4cca6a4cb30b2b730735e7ca1dab3e622158f..b191cdd05576affa5236b7cfb394bbe452e2e25a 100644 (file)
@@ -20,6 +20,8 @@
 #ifndef __ASM_ARM_ARCH_IO_H
 #define __ASM_ARM_ARCH_IO_H
 
+#include <asm/hardware.h>
+
 #define IO_SPACE_LIMIT 0xffffffff
 
 #define __io(a)                ((void __iomem *)(a))
index fbea8be67d265ea470acdd0532c17ca38f8699da..1329a731160d70c4a2f40c93cf5868aa4a52c1ea 100644 (file)
@@ -20,6 +20,8 @@
 #ifndef __ASM_ARM_ARCH_IO_H
 #define __ASM_ARM_ARCH_IO_H
 
+#include <asm/hardware.h>
+
 #define IO_SPACE_LIMIT 0xffff
 
 #define __io(a)                        ((void __iomem *)(PCI_IO_VADDR + (a)))
index 2761dfd8694dc0c84ec02fb89b34dafb1c1c3c28..f39046a6ab141decf904c44316ce10000be2f37f 100644 (file)
@@ -11,6 +11,8 @@
 #ifndef __ASM_ARM_ARCH_IO_H
 #define __ASM_ARM_ARCH_IO_H
 
+#include <asm/hardware.h>
+
 #define IO_SPACE_LIMIT 0xffffffff
 
 #define __io(p)                        ((void __iomem *)(p))
index 3241cd6f0778e0384e188a945a8747f705f68750..7fbcdf9931eecfd7ac2d7e088a5fd56befee8616 100644 (file)
@@ -15,6 +15,8 @@
 #ifndef __ASM_ARM_ARCH_IO_H
 #define __ASM_ARM_ARCH_IO_H
 
+#include <asm/hardware.h>
+
 #define IO_SPACE_LIMIT         0xffffffff
 #define __mem_pci(a)           (a)
 
index fc012a39e2cb7f8e465ff54d9f672ff1bea1aac8..cab8ad0adf09e3dcb60176b93aa1ef7c2ff7c720 100644 (file)
@@ -10,7 +10,7 @@
 #ifndef __ASM_ARM_ARCH_IO_H
 #define __ASM_ARM_ARCH_IO_H
 
-#include <asm/arch/hardware.h>
+#include <asm/hardware.h>
 
 #define IO_SPACE_LIMIT 0xffffffff
 
index c13bdd9add926453f510c3ee1a323a7559e34b15..bbcd4335f44196ea518d6c484a8c0254531cd91b 100644 (file)
@@ -11,6 +11,8 @@
 #ifndef __ASM_ARCH_IO_H
 #define __ASM_ARCH_IO_H
 
+#include <asm/hardware.h>
+
 #define IO_SPACE_LIMIT 0xffffffff
 
 /* No ISA or PCI bus on this machine. */
index 11fbf629bf755410a10efee0b52f1711b584b931..3d5bcd54508215ac5036cc7038743d933c35ae19 100644 (file)
@@ -34,6 +34,8 @@
 #ifndef __ASM_ARM_ARCH_IO_H
 #define __ASM_ARM_ARCH_IO_H
 
+#include <asm/hardware.h>
+
 #define IO_SPACE_LIMIT 0xffffffff
 
 /*
index c3bdbe44e21f020080795f6ab45a166aeafc8af2..eb2dd58d397fa187690093a618afcf49c83f7221 100644 (file)
@@ -6,6 +6,8 @@
 #ifndef __ASM_ARM_ARCH_IO_H
 #define __ASM_ARM_ARCH_IO_H
 
+#include <asm/hardware.h>
+
 #define IO_SPACE_LIMIT 0xffffffff
 
 /*
index 24453c405a87f56effde8b12ec6ae0cf17616b2a..b4da08d7a336f6a3de5bef5d480629860d0f5697 100644 (file)
@@ -13,6 +13,8 @@
 #ifndef __ASM_ARM_ARCH_IO_H
 #define __ASM_ARM_ARCH_IO_H
 
+#include <asm/hardware.h>
+
 #define IO_SPACE_LIMIT 0xffffffff
 
 /*
index 4bf272ed9add61debe8b01c6b8dad75d3fac53f8..16fbc8afffd907cb7f333c3bc57fb98b02fcc09d 100644 (file)
@@ -15,6 +15,8 @@
 #ifndef __ASM_ARM_ARCH_IO_H
 #define __ASM_ARM_ARCH_IO_H
 
+#include <asm/hardware.h>
+
 #define IO_SPACE_LIMIT 0xffffffff
 
 /*
index 7d969ffbd3bb04965a276e83c5cd032df392ea11..9c8f588f35dba360c386733ca638f050a620b9a3 100644 (file)
@@ -10,6 +10,8 @@
 #ifndef __ASM_ARM_ARCH_IO_H
 #define __ASM_ARM_ARCH_IO_H
 
+#include <asm/hardware.h>
+
 #define IO_SPACE_LIMIT 0xffffffff
 
 /*
index 5e6ed0038b2b438667a35b1f4e60b3883e08c1e0..87ffa27f296247344d96d4835deea07534a36eaa 100644 (file)
@@ -11,6 +11,8 @@
 #ifndef __ASM_ARM_ARCH_IO_H
 #define __ASM_ARM_ARCH_IO_H
 
+#include <asm/hardware.h>
+
 #define IO_SPACE_LIMIT 0xffffffff
 
 /*
index 47e904cf25c748b6f19fca6e7b9ab70c9aa3ded3..c2eed7f04b78f6d604061351d7cc09dc26277143 100644 (file)
@@ -20,6 +20,8 @@
 #ifndef __ASM_ARM_ARCH_IO_H
 #define __ASM_ARM_ARCH_IO_H
 
+#include <asm/hardware.h>
+
 #define IO_SPACE_LIMIT 0xffffffff
 
 static inline void __iomem *__io(unsigned long addr)
index 5c4ae8f5dbb076ad2e46ea8be9c48acb1bc56879..2e6799632f124ff6e43d86cddfec5dec1aa7ad89 100644 (file)
@@ -26,7 +26,6 @@
 #include <linux/types.h>
 #include <asm/byteorder.h>
 #include <asm/memory.h>
-#include <asm/arch/hardware.h>
 
 /*
  * ISA I/O bus memory addresses are 1:1 with the physical address.