summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-integrator/include/mach/hardware.h
diff options
context:
space:
mode:
authorRussell King2010-01-14 20:59:37 +0100
committerRussell King2010-04-29 19:04:15 +0200
commita285edcf18b8838814d645c7e411a337a825236e (patch)
treece13257ff0d6da7896088732bba59e3a2ebe4658 /arch/arm/mach-integrator/include/mach/hardware.h
parentARM: 6063/1: pmu: add enum describing PMU types (diff)
downloadkernel-qcow2-linux-a285edcf18b8838814d645c7e411a337a825236e.tar.gz
kernel-qcow2-linux-a285edcf18b8838814d645c7e411a337a825236e.tar.xz
kernel-qcow2-linux-a285edcf18b8838814d645c7e411a337a825236e.zip
ARM: Fix Versatile&Integrator includes to behave in the same way as Realview
Realview doesn't include mach/platform.h in mach/hardware.h, so make versatile behave in the same way. Also, move the definition of __io_address() into mach/hardware.h, just like Realview. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-integrator/include/mach/hardware.h')
-rw-r--r--arch/arm/mach-integrator/include/mach/hardware.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-integrator/include/mach/hardware.h b/arch/arm/mach-integrator/include/mach/hardware.h
index d795642fad22..d44af7209b48 100644
--- a/arch/arm/mach-integrator/include/mach/hardware.h
+++ b/arch/arm/mach-integrator/include/mach/hardware.h
@@ -23,7 +23,6 @@
#define __ASM_ARCH_HARDWARE_H
#include <asm/sizes.h>
-#include <mach/platform.h>
/*
* Where in virtual memory the IO devices (timers, system controllers
@@ -48,5 +47,7 @@
#define PCIBIOS_MIN_IO 0x6000
#define PCIBIOS_MIN_MEM 0x00100000
+#define __io_address(n) ((void __iomem *)IO_ADDRESS(n))
+
#endif