[ARM] 4042/1: H1940: Fix sparse errors from VA addresses
authorBen Dooks <ben-linux@fluff.org>
Sun, 17 Dec 2006 19:18:40 +0000 (20:18 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 17 Dec 2006 23:37:53 +0000 (23:37 +0000)
Fix address-space conversion errors from passing addresses
generated from include/asm-arm/arch-s3c2410/map.h by adding
an __force argument to the `void __iomem *` for all the
virtual addresses.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
include/asm-arm/arch-s3c2410/h1940-latch.h

index 22a7efd358f4e8135f35566267ffc9ea4d2a2bc5..c3de5ab102ebeffb31e75d6152f4a613c217640f 100644 (file)
@@ -16,7 +16,7 @@
 
 
 #ifndef __ASSEMBLY__
-#define H1940_LATCH            ((void __iomem *)0xF8000000)
+#define H1940_LATCH            ((void __force __iomem *)0xF8000000)
 #else
 #define H1940_LATCH            0xF8000000
 #endif