patch-2.4.9 linux/include/asm-arm/arch-rpc/io.h

Next file: linux/include/asm-arm/arch-rpc/memory.h
Previous file: linux/include/asm-arm/arch-nexuspci/time.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.8/linux/include/asm-arm/arch-rpc/io.h linux/include/asm-arm/arch-rpc/io.h
@@ -70,7 +70,7 @@
 /*
  * Dynamic IO functions.
  */
-extern __inline__ void __outb (unsigned int value, unsigned int port)
+static inline void __outb (unsigned int value, unsigned int port)
 {
 	unsigned long temp;
 	__asm__ __volatile__(
@@ -83,7 +83,7 @@
 	: "cc");
 }
 
-extern __inline__ void __outw (unsigned int value, unsigned int port)
+static inline void __outw (unsigned int value, unsigned int port)
 {
 	unsigned long temp;
 	__asm__ __volatile__(
@@ -96,7 +96,7 @@
 	: "cc");
 }
 
-extern __inline__ void __outl (unsigned int value, unsigned int port)
+static inline void __outl (unsigned int value, unsigned int port)
 {
 	unsigned long temp;
 	__asm__ __volatile__(
@@ -110,7 +110,7 @@
 }
 
 #define DECLARE_DYN_IN(sz,fnsuffix,instr)					\
-extern __inline__ unsigned sz __in##fnsuffix (unsigned int port)		\
+static inline unsigned sz __in##fnsuffix (unsigned int port)		\
 {										\
 	unsigned long temp, value;						\
 	__asm__ __volatile__(							\
@@ -124,7 +124,7 @@
 	return (unsigned sz)value;						\
 }
 
-extern __inline__ unsigned int __ioaddr (unsigned int port)			\
+static inline unsigned int __ioaddr (unsigned int port)			\
 {										\
 	if (__PORT_PCIO(port))							\
 		return (unsigned int)(PCIO_BASE + (port << 2));			\

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)