patch-2.4.25 linux-2.4.25/include/asm-m68k/mac_psc.h
Next file: linux-2.4.25/include/asm-m68k/mac_via.h
Previous file: linux-2.4.25/include/asm-m68k/io.h
Back to the patch index
Back to the overall index
- Lines: 39
- Date:
2004-02-18 05:36:32.000000000 -0800
- Orig file:
linux-2.4.24/include/asm-m68k/mac_psc.h
- Orig date:
2001-06-11 19:15:27.000000000 -0700
diff -urN linux-2.4.24/include/asm-m68k/mac_psc.h linux-2.4.25/include/asm-m68k/mac_psc.h
@@ -215,32 +215,32 @@
* Access functions
*/
-extern inline void psc_write_byte(int offset, __u8 data)
+static inline void psc_write_byte(int offset, __u8 data)
{
*((volatile __u8 *)(psc + offset)) = data;
}
-extern inline void psc_write_word(int offset, __u16 data)
+static inline void psc_write_word(int offset, __u16 data)
{
*((volatile __u16 *)(psc + offset)) = data;
}
-extern inline void psc_write_long(int offset, __u32 data)
+static inline void psc_write_long(int offset, __u32 data)
{
*((volatile __u32 *)(psc + offset)) = data;
}
-extern inline u8 psc_read_byte(int offset)
+static inline u8 psc_read_byte(int offset)
{
return *((volatile __u8 *)(psc + offset));
}
-extern inline u16 psc_read_word(int offset)
+static inline u16 psc_read_word(int offset)
{
return *((volatile __u16 *)(psc + offset));
}
-extern inline u32 psc_read_long(int offset)
+static inline u32 psc_read_long(int offset)
{
return *((volatile __u32 *)(psc + offset));
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)