projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
88de09f
)
Fix a few build warnings.
author
Ralf Baechle
<ralf@linux-mips.org>
Mon, 18 Apr 2005 14:54:43 +0000
(14:54 +0000)
committer
Ralf Baechle
<ralf@linux-mips.org>
Sat, 29 Oct 2005 18:31:09 +0000
(19:31 +0100)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
include/asm-mips/io.h
patch
|
blob
|
blame
|
history
diff --git
a/include/asm-mips/io.h
b/include/asm-mips/io.h
index cee0562a7851a945abe6a299ac24c8ac52dab415..3b4d97d80643c67b9b538c0ecaff46a3247f8b2c 100644
(file)
--- 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, \
#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); \