summaryrefslogtreecommitdiffstats
path: root/include/asm-mips/io.h
diff options
context:
space:
mode:
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>2006-02-08 16:57:44 +0100
committerRalf Baechle <ralf@linux-mips.org>2006-02-08 18:52:27 +0100
commitb887d3f2c63543dce1a0825e41be3a8d3ebef78d (patch)
tree63cb4806c98edae6fdddda410550a1570b7da99e /include/asm-mips/io.h
parent[MIPS] Sparse: Add __user tags to syscall.c (diff)
downloadlinux-b887d3f2c63543dce1a0825e41be3a8d3ebef78d.tar.xz
linux-b887d3f2c63543dce1a0825e41be3a8d3ebef78d.zip
[MIPS] Add 'const' to readb and friends
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp> Signed-off-by: Ralf Baechle <ralf@linux-mips.org> ---
Diffstat (limited to '')
-rw-r--r--include/asm-mips/io.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-mips/io.h b/include/asm-mips/io.h
index a9fa1254894a..05de7c174e67 100644
--- a/include/asm-mips/io.h
+++ b/include/asm-mips/io.h
@@ -342,7 +342,7 @@ static inline void pfx##write##bwlq(type val, \
BUG(); \
} \
\
-static inline type pfx##read##bwlq(volatile void __iomem *mem) \
+static inline type pfx##read##bwlq(const volatile void __iomem *mem) \
{ \
volatile type *__mem; \
type __val; \