From: Russell King Date: Thu, 18 Dec 2008 23:29:15 +0000 (+0000) Subject: [ARM] s3c: define __io using the typesafe version X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=6fd7c7fe72a46dfd227fe8db0c7b6863af90a982;p=linux-beck.git [ARM] s3c: define __io using the typesafe version as per 0560cf5aa51216b06874333a2fa26ca034d97bdb Signed-off-by: Russell King --- 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)