diff options
author | Arnd Bergmann <arnd@arndb.de> | 2012-09-14 20:21:32 (GMT) |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2012-09-19 13:19:16 (GMT) |
commit | b55056ea09d71c935d4ae828e97d4eaed4feb2db (patch) | |
tree | e08237db72dae015a6db3ee00717dd0744935f49 /arch/arm/mach-sa1100/simpad.c | |
parent | 49d394be042d97f584ae8577bc32700792333f04 (diff) | |
download | linux-fsl-qoriq-b55056ea09d71c935d4ae828e97d4eaed4feb2db.tar.xz |
ARM: sa1100: use __iomem pointers for MMIO
ARM is moving to stricter checks on readl/write functions,
so we need to use the correct types everywhere.
Cc: Jochen Friedrich <jochen@scram.de>
Cc: Dominik Brodowski <linux@dominikbrodowski.net>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/mach-sa1100/simpad.c')
-rw-r--r-- | arch/arm/mach-sa1100/simpad.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-sa1100/simpad.c b/arch/arm/mach-sa1100/simpad.c index fbd5359..6ca92d0 100644 --- a/arch/arm/mach-sa1100/simpad.c +++ b/arch/arm/mach-sa1100/simpad.c @@ -124,7 +124,7 @@ static struct map_desc simpad_io_desc[] __initdata = { .length = 0x00800000, .type = MT_DEVICE }, { /* Simpad CS3 */ - .virtual = CS3_BASE, + .virtual = (unsigned long)CS3_BASE, .pfn = __phys_to_pfn(SA1100_CS3_PHYS), .length = 0x00100000, .type = MT_DEVICE |