| To: | linux-mips@linux-mips.org |
|---|---|
| Subject: | [PATCH] add 'const' to readb and friends |
| From: | Atsushi Nemoto <anemo@mba.ocn.ne.jp> |
| Date: | Thu, 09 Feb 2006 00:57:44 +0900 (JST) |
| Cc: | ralf@linux-mips.org |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| Sender: | linux-mips-bounce@linux-mips.org |
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
diff --git a/include/asm-mips/io.h b/include/asm-mips/io.h
index c16d54f..0ec40f9 100644
--- a/include/asm-mips/io.h
+++ b/include/asm-mips/io.h
@@ -342,7 +342,7 @@ static inline void pfx##write##bwlq(type
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; \
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH] use __raw access function for fb, Atsushi Nemoto |
|---|---|
| Next by Date: | Re: [PATCH] add 'const' to readb and friends, Ralf Baechle |
| Previous by Thread: | [PATCH] use __raw access function for fb, Atsushi Nemoto |
| Next by Thread: | Re: [PATCH] add 'const' to readb and friends, Ralf Baechle |
| Indexes: | [Date] [Thread] [Top] [All Lists] |