summaryrefslogtreecommitdiffstats
path: root/include/asm-arm/arch-imx/io.h
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2005-10-28 10:20:25 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2005-10-28 10:20:25 +0100
commit7fca0aa489c82bef85514b5447f6a0be81543115 (patch)
tree7f781dd06d93d629e49de0f9484b3a4e7b7707c0 /include/asm-arm/arch-imx/io.h
parent741b2252a5e14d6c60a913c77a6099abe73a854a (diff)
downloadblackbird-op-linux-7fca0aa489c82bef85514b5447f6a0be81543115.tar.gz
blackbird-op-linux-7fca0aa489c82bef85514b5447f6a0be81543115.zip
[ARM] 1/4: Move include of asm/hardware.h to asm-arm/arch-*/io.h
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>
Diffstat (limited to 'include/asm-arm/arch-imx/io.h')
-rw-r--r--include/asm-arm/arch-imx/io.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-arm/arch-imx/io.h b/include/asm-arm/arch-imx/io.h
index 28a4cca6a4cb..b191cdd05576 100644
--- a/include/asm-arm/arch-imx/io.h
+++ b/include/asm-arm/arch-imx/io.h
@@ -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))
OpenPOWER on IntegriCloud