[ARM] s3c: define __io using the typesafe version
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Thu, 18 Dec 2008 23:29:15 +0000 (23:29 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 18 Dec 2008 23:29:15 +0000 (23:29 +0000)
as per 0560cf5aa51216b06874333a2fa26ca034d97bdb

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/plat-s3c/include/mach/io.h

index 10d28d66ace37096c318c692b0b170e7a6d70c06..f6a53631b66583c1691d1b923d684f045dd9f865 100644 (file)
@@ -10,7 +10,7 @@
 #define __ASM_ARM_ARCH_IO_H
 
 /* No current ISA/PCI bus support. */
-#define __io(a)                ((void __iomem *)(a))
+#define __io(a)                __typesafe_io(a)
 #define __mem_pci(a)   (a)
 
 #define IO_SPACE_LIMIT (0xFFFFFFFF)