summaryrefslogtreecommitdiffstats
path: root/include/asm-arm/arch-sa1100/io.h
diff options
context:
space:
mode:
authorRussell King2005-10-28 15:25:28 +0200
committerRussell King2005-10-28 15:25:28 +0200
commit674c04538284736c4a44224c78cb784b2c972f98 (patch)
treeb975860890debe5fadcafd4137ad3112f1784849 /include/asm-arm/arch-sa1100/io.h
parent[ARM] 3/4: Remove asm/hardware.h from Versatile and Integrator io.h (diff)
downloadkernel-qcow2-linux-674c04538284736c4a44224c78cb784b2c972f98.tar.gz
kernel-qcow2-linux-674c04538284736c4a44224c78cb784b2c972f98.tar.xz
kernel-qcow2-linux-674c04538284736c4a44224c78cb784b2c972f98.zip
[ARM] 3/4: Remove asm/hardware.h from SA1100 io.h
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include/asm-arm/arch-sa1100/io.h')
-rw-r--r--include/asm-arm/arch-sa1100/io.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/asm-arm/arch-sa1100/io.h b/include/asm-arm/arch-sa1100/io.h
index 9c8f588f35db..9d4fe6cf205b 100644
--- a/include/asm-arm/arch-sa1100/io.h
+++ b/include/asm-arm/arch-sa1100/io.h
@@ -18,7 +18,11 @@
* We don't actually have real ISA nor PCI buses, but there is so many
* drivers out there that might just work if we fake them...
*/
-#define __io(a) ((void __iomem *)(PCIO_BASE + (a)))
+static inline void __iomem *__io(unsigned long addr)
+{
+ return (void __iomem *)addr;
+}
+#define __io(a) __io(a)
#define __mem_pci(a) (a)
#define __mem_isa(a) (a)