aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-mips/io.h
diff options
context:
space:
mode:
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>2006-02-09 00:57:44 +0900
committerRalf Baechle <ralf@linux-mips.org>2006-02-08 17:52:27 +0000
commitb887d3f2c63543dce1a0825e41be3a8d3ebef78d (patch)
tree63cb4806c98edae6fdddda410550a1570b7da99e /include/asm-mips/io.h
parentbe6e518b625a90e84d26371f722474e239c01e4c (diff)
downloadkernel_samsung_espresso10-b887d3f2c63543dce1a0825e41be3a8d3ebef78d.tar.gz
kernel_samsung_espresso10-b887d3f2c63543dce1a0825e41be3a8d3ebef78d.tar.bz2
kernel_samsung_espresso10-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 'include/asm-mips/io.h')
-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 a9fa1254894..05de7c174e6 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; \