diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2005-04-18 14:54:43 (GMT) |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2005-10-29 18:31:09 (GMT) |
commit | ecba36dad8b635174bcbc32998a019b6d1e6f12f (patch) | |
tree | 004f998b5e8531fc3c0bacef840bf0b8954b1f3c /include | |
parent | 88de09f351e0b38a0991f4abd4ff6691b565d2ef (diff) | |
download | linux-ecba36dad8b635174bcbc32998a019b6d1e6f12f.tar.xz |
Fix a few build warnings.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-mips/io.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-mips/io.h b/include/asm-mips/io.h index cee0562..3b4d97d 100644 --- a/include/asm-mips/io.h +++ b/include/asm-mips/io.h @@ -451,10 +451,10 @@ static inline void reads##bwlq(volatile void __iomem *mem, void *addr, \ #define __BUILD_IOPORT_STRING(bwlq, type) \ \ -static inline void outs##bwlq(unsigned long port, void *addr, \ +static inline void outs##bwlq(unsigned long port, const void *addr, \ unsigned int count) \ { \ - volatile type *__addr = addr; \ + const volatile type *__addr = addr; \ \ while (count--) { \ mem_out##bwlq(*__addr, port); \ |