提交 b887d3f2 编写于 作者: A Atsushi Nemoto 提交者: Ralf Baechle

[MIPS] Add 'const' to readb and friends

Signed-off-by: NAtsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: NRalf Baechle <ralf@linux-mips.org>

---
上级 be6e518b
......@@ -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; \
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册