[PATCH] Type qualifiers in __ia64_get_io_port_base

From: Ian Wienand <ianw_at_gelato.unsw.edu.au>
Date: 2005-07-19 11:20:27

include/asm/io.h:125: warning: type qualifiers ignored on function return type

produced by gcc 4

According to http://gcc.gnu.org/ml/gcc-patches/2000-10/msg00814.html
the type qualifier is superfluous.


Signed-Off-By: Ian Wienand <ianw@gelato.unsw.edu.au>

diff --git a/include/asm-ia64/io.h b/include/asm-ia64/io.h
--- a/include/asm-ia64/io.h
+++ b/include/asm-ia64/io.h
@@ -120,7 +120,7 @@ static inline void ___ia64_mmiowb(void)
-static inline const unsigned long
+static inline unsigned long
 __ia64_get_io_port_base (void)
 	extern unsigned long ia64_iobase;
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Mon Jul 18 21:20:40 2005

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:40 EST