1
0
Fork 0

[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>

---
hifive-unleashed-5.1
Atsushi Nemoto 2006-02-09 00:57:44 +09:00 committed by Ralf Baechle
parent be6e518b62
commit b887d3f2c6
1 changed files with 1 additions and 1 deletions

View 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; \