diff options
Diffstat (limited to 'include/asm-mips/io.h')
-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 cee0562a7851..3b4d97d80643 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, \ | |||
451 | 451 | ||
452 | #define __BUILD_IOPORT_STRING(bwlq, type) \ | 452 | #define __BUILD_IOPORT_STRING(bwlq, type) \ |
453 | \ | 453 | \ |
454 | static inline void outs##bwlq(unsigned long port, void *addr, \ | 454 | static inline void outs##bwlq(unsigned long port, const void *addr, \ |
455 | unsigned int count) \ | 455 | unsigned int count) \ |
456 | { \ | 456 | { \ |
457 | volatile type *__addr = addr; \ | 457 | const volatile type *__addr = addr; \ |
458 | \ | 458 | \ |
459 | while (count--) { \ | 459 | while (count--) { \ |
460 | mem_out##bwlq(*__addr, port); \ | 460 | mem_out##bwlq(*__addr, port); \ |