From: Atsushi Nemoto Date: Wed, 8 Feb 2006 15:57:44 +0000 (+0900) Subject: [MIPS] Add 'const' to readb and friends X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b887d3f2c63543dce1a0825e41be3a8d3ebef78d;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.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 a9fa1254894a..05de7c174e67 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; \