diff options
author | Atsushi Nemoto <anemo@mba.ocn.ne.jp> | 2006-02-09 00:57:44 +0900 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2006-02-08 17:52:27 +0000 |
commit | b887d3f2c63543dce1a0825e41be3a8d3ebef78d (patch) | |
tree | 63cb4806c98edae6fdddda410550a1570b7da99e /include/asm-mips | |
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')
-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, \ 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; \ |