2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-11-20 16:46:23 +08:00

Fix a few build warnings.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
Ralf Baechle 2005-04-18 14:54:43 +00:00
parent 88de09f351
commit ecba36dad8

View File

@ -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); \