Skip to content

Commit

Permalink
Fix a few build warnings.
Browse files Browse the repository at this point in the history
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  • Loading branch information
Ralf Baechle committed Oct 29, 2005
1 parent 88de09f commit ecba36d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/asm-mips/io.h
Original file line number Diff line number Diff line change
Expand Up @@ -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); \
Expand Down

0 comments on commit ecba36d

Please sign in to comment.