summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-ks8695/cpu.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2012-09-14 22:20:02 +0200
committerArnd Bergmann <arnd@arndb.de>2012-09-19 15:19:13 +0200
commitc72ecbec1999204be15e40ade63585b16a6f713a (patch)
tree6aab28ea0eaa15d7b8a9ee372d99aa1b029001dc /arch/arm/mach-ks8695/cpu.c
parentARM: ixp4xx: use __iomem pointers for MMIO (diff)
downloadlinux-c72ecbec1999204be15e40ade63585b16a6f713a.tar.xz
linux-c72ecbec1999204be15e40ade63585b16a6f713a.zip
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.c2
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 @@
static struct __initdata map_desc ks8695_io_desc[] = {
{
- .virtual = KS8695_IO_VA,
+ .virtual = (unsigned long)KS8695_IO_VA,
.pfn = __phys_to_pfn(KS8695_IO_PA),
.length = KS8695_IO_SIZE,
.type = MT_DEVICE,