diff options
author | Arnd Bergmann <arnd@arndb.de> | 2012-09-14 20:11:12 +0000 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2012-09-18 10:15:12 +0200 |
commit | a21e5e282b7293ce1a192757ffe1baa71618961c (patch) | |
tree | 8ae917b10b3b15651eeb752c70a4f5c334326449 /arch/arm/mach-ebsa110/core.h | |
parent | dca4ba4121a66bdd0d85d02df21aee2738edcf5a (diff) | |
download | lwn-a21e5e282b7293ce1a192757ffe1baa71618961c.tar.gz lwn-a21e5e282b7293ce1a192757ffe1baa71618961c.zip |
ARM: ebsa110: use __iomem pointers for MMIO
ARM is moving to stricter checks on readl/write functions,
so we need to use the correct types everywhere.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/mach-ebsa110/core.h')
-rw-r--r-- | arch/arm/mach-ebsa110/core.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/arm/mach-ebsa110/core.h b/arch/arm/mach-ebsa110/core.h index c93c9e43012d..afe137ee172e 100644 --- a/arch/arm/mach-ebsa110/core.h +++ b/arch/arm/mach-ebsa110/core.h @@ -31,11 +31,11 @@ #define TRICK7_PHYS 0xf3c00000 /* Virtual addresses */ -#define PIT_BASE 0xfc000000 /* trick 0 */ -#define SOFT_BASE 0xfd000000 /* trick 1 */ -#define IRQ_MASK 0xfe000000 /* trick 3 - read */ -#define IRQ_MSET 0xfe000000 /* trick 3 - write */ -#define IRQ_STAT 0xff000000 /* trick 4 - read */ -#define IRQ_MCLR 0xff000000 /* trick 4 - write */ +#define PIT_BASE IOMEM(0xfc000000) /* trick 0 */ +#define SOFT_BASE IOMEM(0xfd000000) /* trick 1 */ +#define IRQ_MASK IOMEM(0xfe000000) /* trick 3 - read */ +#define IRQ_MSET IOMEM(0xfe000000) /* trick 3 - write */ +#define IRQ_STAT IOMEM(0xff000000) /* trick 4 - read */ +#define IRQ_MCLR IOMEM(0xff000000) /* trick 4 - write */ #endif |