Commit b887d3f2 authored by Atsushi Nemoto's avatar Atsushi Nemoto Committed by Ralf Baechle

[MIPS] Add 'const' to readb and friends

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

---
parent be6e518b
...@@ -342,7 +342,7 @@ static inline void pfx##write##bwlq(type val, \ ...@@ -342,7 +342,7 @@ static inline void pfx##write##bwlq(type val, \
BUG(); \ 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; \ volatile type *__mem; \
type __val; \ type __val; \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment