Skip to content

Commit

Permalink
[MIPS] Add 'const' to readb and friends
Browse files Browse the repository at this point in the history
    
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

---
  • Loading branch information
Atsushi Nemoto authored and Ralf Baechle committed Feb 8, 2006
1 parent be6e518 commit b887d3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/asm-mips/io.h
Original file line number Diff line number Diff line change
Expand Up @@ -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; \
Expand Down

0 comments on commit b887d3f

Please sign in to comment.