summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2008-12-19 00:29:15 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2008-12-19 00:29:15 +0100
commit6fd7c7fe72a46dfd227fe8db0c7b6863af90a982 (patch)
tree8c939ea6c06b3cd26850be9414ddd2e39242cdee
parentMerge branch 'for-rmk' of git://git.pengutronix.de/git/imx/linux-2.6 into devel (diff)
downloadlinux-6fd7c7fe72a46dfd227fe8db0c7b6863af90a982.tar.xz
linux-6fd7c7fe72a46dfd227fe8db0c7b6863af90a982.zip
[ARM] s3c: define __io using the typesafe version
as per 0560cf5aa51216b06874333a2fa26ca034d97bdb Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
-rw-r--r--arch/arm/plat-s3c/include/mach/io.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/plat-s3c/include/mach/io.h b/arch/arm/plat-s3c/include/mach/io.h
index 10d28d66ace3..f6a53631b665 100644
--- a/arch/arm/plat-s3c/include/mach/io.h
+++ b/arch/arm/plat-s3c/include/mach/io.h
@@ -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)