From: Atsushi Nemoto Date: Wed, 8 Feb 2006 15:57:44 +0000 (+0900) Subject: [MIPS] Add 'const' to readb and friends X-Git-Tag: v2.6.16-rc3~57^2 X-Git-Url: http://www.pilppa.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=b887d3f2c63543dce1a0825e41be3a8d3ebef78d;p=linux-2.6-omap-h63xx.git [MIPS] Add 'const' to readb and friends Signed-off-by: Atsushi Nemoto Signed-off-by: Ralf Baechle --- --- diff --git a/include/asm-mips/io.h b/include/asm-mips/io.h index a9fa1254894..05de7c174e6 100644 --- a/include/asm-mips/io.h +++ b/include/asm-mips/io.h @@ -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; \