Fix a few build warnings.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
parent
88de09f351
commit
ecba36dad8
1 changed files with 2 additions and 2 deletions
|
@ -451,10 +451,10 @@ static inline void reads##bwlq(volatile void __iomem *mem, void *addr, \
|
||||||
|
|
||||||
#define __BUILD_IOPORT_STRING(bwlq, type) \
|
#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) \
|
unsigned int count) \
|
||||||
{ \
|
{ \
|
||||||
volatile type *__addr = addr; \
|
const volatile type *__addr = addr; \
|
||||||
\
|
\
|
||||||
while (count--) { \
|
while (count--) { \
|
||||||
mem_out##bwlq(*__addr, port); \
|
mem_out##bwlq(*__addr, port); \
|
||||||
|
|
Loading…
Reference in a new issue