[PATCH 2/4] [ARM] shmobile: change __io() definition to use __typesafe_io()

Eric Miao eric.y.miao at gmail.com
Fri Jun 25 03:44:29 EDT 2010


From: Eric Miao <eric.miao at canonical.com>

Cc: Magnus Damm <magnus.damm at gmail.com>
Signed-off-by: Eric Miao <eric.miao at canonical.com>
---
 arch/arm/mach-shmobile/include/mach/io.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/arm/mach-shmobile/include/mach/io.h b/arch/arm/mach-shmobile/include/mach/io.h
index 7339fe4..df793df 100644
--- a/arch/arm/mach-shmobile/include/mach/io.h
+++ b/arch/arm/mach-shmobile/include/mach/io.h
@@ -3,7 +3,7 @@
 
 #define IO_SPACE_LIMIT		0xffffffff
 
-#define __io(a)			((void __iomem *)(a))
+#define __io(a)			__typesafe_io(a)
 #define __mem_pci(a)		(a)
 
 #endif /* __ASM_MACH_IO_H */
-- 
1.7.1




More information about the linux-arm-kernel mailing list