提交 ecba36da 编写于 作者: R Ralf Baechle

Fix a few build warnings.

Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
上级 88de09f3
......@@ -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); \
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册