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: Tue, 19 Apr 2005 13:24:21 +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/19 13:24:16

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

Log message:
        Add const qualifier to address argument of __out[bwl].

diff -urN linux/include/asm-mips/io.h linux/include/asm-mips/io.h
--- linux/include/asm-mips/io.h 2003/02/25 22:03:12     1.29.2.20
+++ linux/include/asm-mips/io.h 2005/04/19 12:24:16     1.29.2.21
@@ -392,7 +392,8 @@
        return __ioswab32(__val);
 }
 
-static inline void __outsb(unsigned long port, void *addr, unsigned int count)
+static inline void __outsb(unsigned long port, const void *addr,
+       unsigned int count)
 {
        while (count--) {
                outb(*(u8 *)addr, port);
@@ -408,7 +409,8 @@
        }
 }
 
-static inline void __outsw(unsigned long port, void *addr, unsigned int count)
+static inline void __outsw(unsigned long port, const void *addr,
+       unsigned int count)
 {
        while (count--) {
                outw(*(u16 *)addr, port);
@@ -424,7 +426,8 @@
        }
 }
 
-static inline void __outsl(unsigned long port, void *addr, unsigned int count)
+static inline void __outsl(unsigned long port, const void *addr,
+       unsigned int count)
 {
        while (count--) {
                outl(*(u32 *)addr, port);

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