[MIPS] Add 'const' to readb and friends
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>
Wed, 8 Feb 2006 15:57:44 +0000 (00:57 +0900)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 8 Feb 2006 17:52:27 +0000 (17:52 +0000)
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
---

include/asm-mips/io.h

index a9fa1254894aa0eb08cb2df1fdede646a3458fe9..05de7c174e6773aa62b7b91a435ae31930eaee14 100644 (file)
@@ -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;                                                     \