OSDN Git Service

[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 a9fa125..05de7c1 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;                                                     \