[PATCH 5/6] [ARM] shmobile: change __io() definition to use __typesafe_io()
Eric Miao
eric.y.miao at gmail.com
Wed Jun 23 07:52:17 EDT 2010
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 3e29649..19d5120 100644
--- a/arch/arm/mach-shmobile/include/mach/io.h
+++ b/arch/arm/mach-shmobile/include/mach/io.h
@@ -1,5 +1,5 @@
#ifndef __ASM_MACH_IO_H
#define __ASM_MACH_IO_H
-#define __io(a) ((void __iomem *)(a))
+#define __io(a) __typesafe_io(a)
#endif /* __ASM_MACH_IO_H */
--
1.7.1
More information about the linux-arm-kernel
mailing list