diff options
author | Arnd Bergmann <arnd@arndb.de> | 2012-09-14 16:20:02 -0400 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2012-09-19 09:19:13 -0400 |
commit | c72ecbec1999204be15e40ade63585b16a6f713a (patch) | |
tree | 6aab28ea0eaa15d7b8a9ee372d99aa1b029001dc /arch/arm/mach-ks8695/cpu.c | |
parent | 13ec32f47cb42cecc9cd262c307ef9377c601007 (diff) |
ARM: ks8695: 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: Krzysztof Halasa <khc@pm.waw.pl>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/mach-ks8695/cpu.c')
-rw-r--r-- | arch/arm/mach-ks8695/cpu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-ks8695/cpu.c b/arch/arm/mach-ks8695/cpu.c index 7f3f24053a00..ddb24222918e 100644 --- a/arch/arm/mach-ks8695/cpu.c +++ b/arch/arm/mach-ks8695/cpu.c | |||
@@ -36,7 +36,7 @@ | |||
36 | 36 | ||
37 | static struct __initdata map_desc ks8695_io_desc[] = { | 37 | static struct __initdata map_desc ks8695_io_desc[] = { |
38 | { | 38 | { |
39 | .virtual = KS8695_IO_VA, | 39 | .virtual = (unsigned long)KS8695_IO_VA, |
40 | .pfn = __phys_to_pfn(KS8695_IO_PA), | 40 | .pfn = __phys_to_pfn(KS8695_IO_PA), |
41 | .length = KS8695_IO_SIZE, | 41 | .length = KS8695_IO_SIZE, |
42 | .type = MT_DEVICE, | 42 | .type = MT_DEVICE, |