linux-cvs-patches
[Top] [All Lists]

CVS Update@linux-mips.org: linux

To: linux-cvs-patches@linux-mips.org
Subject: CVS Update@linux-mips.org: linux
From: ralf@linux-mips.org
Date: Mon, 18 Apr 2005 15:54:49 +0100
Reply-to: linux-mips@linux-mips.org
Sender: linux-cvs-patches-bounce@linux-mips.org
CVSROOT:        /home/cvs
Module name:    linux
Changes by:     ralf@ftp.linux-mips.org 05/04/18 15:54:43

Modified files:
        include/asm-mips: io.h 

Log message:
        Fix a few build warnings.

diff -urN linux/include/asm-mips/io.h linux/include/asm-mips/io.h
--- linux/include/asm-mips/io.h 2005/03/18 17:38:08     1.84
+++ linux/include/asm-mips/io.h 2005/04/18 14:54:43     1.85
@@ -450,10 +450,10 @@
 
 #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);                           \

<Prev in Thread] Current Thread [Next in Thread>