diff options
author | Atsushi Nemoto <anemo@mba.ocn.ne.jp> | 2006-02-08 10:57:44 -0500 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2006-02-08 12:52:27 -0500 |
commit | b887d3f2c63543dce1a0825e41be3a8d3ebef78d (patch) | |
tree | 63cb4806c98edae6fdddda410550a1570b7da99e /include/asm-mips/io.h | |
parent | be6e518b625a90e84d26371f722474e239c01e4c (diff) |
[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.h | 2 |
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, \ | |||
342 | BUG(); \ | 342 | BUG(); \ |
343 | } \ | 343 | } \ |
344 | \ | 344 | \ |
345 | static inline type pfx##read##bwlq(volatile void __iomem *mem) \ | 345 | static inline type pfx##read##bwlq(const volatile void __iomem *mem) \ |
346 | { \ | 346 | { \ |
347 | volatile type *__mem; \ | 347 | volatile type *__mem; \ |
348 | type __val; \ | 348 | type __val; \ |