--- zzzz-none-000/linux-2.4.17/include/asm-mips/jazz.h 2000-05-13 15:31:25.000000000 +0000 +++ sangam-fb-322/linux-2.4.17/include/asm-mips/jazz.h 2004-11-24 13:21:30.000000000 +0000 @@ -1,13 +1,12 @@ -/* $Id: jazz.h,v 1.9 1998/09/19 19:19:37 ralf Exp $ - * +/* * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive * for more details. * * Copyright (C) 1995 - 1998 by Andreas Busse and Ralf Baechle */ -#ifndef __ASM_MIPS_JAZZ_H -#define __ASM_MIPS_JAZZ_H +#ifndef __ASM_JAZZ_H +#define __ASM_JAZZ_H /* * The addresses below are virtual address. The mappings are @@ -273,7 +272,7 @@ */ #ifndef _LANGUAGE_ASSEMBLY -extern inline void r4030_delay(void) +static inline void r4030_delay(void) { __asm__ __volatile__( ".set\tnoreorder\n\t" @@ -284,27 +283,27 @@ ".set\treorder"); } -extern inline unsigned short r4030_read_reg16(unsigned addr) +static inline unsigned short r4030_read_reg16(unsigned addr) { unsigned short ret = *((volatile unsigned short *)addr); r4030_delay(); return ret; } -extern inline unsigned int r4030_read_reg32(unsigned addr) +static inline unsigned int r4030_read_reg32(unsigned addr) { unsigned int ret = *((volatile unsigned int *)addr); r4030_delay(); return ret; } -extern inline void r4030_write_reg16(unsigned addr, unsigned val) +static inline void r4030_write_reg16(unsigned addr, unsigned val) { *((volatile unsigned short *)addr) = val; r4030_delay(); } -extern inline void r4030_write_reg32(unsigned addr, unsigned val) +static inline void r4030_write_reg32(unsigned addr, unsigned val) { *((volatile unsigned int *)addr) = val; r4030_delay(); @@ -318,4 +317,4 @@ #define JAZZ_EISA_BASE 0xe3000000 -#endif /* __ASM_MIPS_JAZZ_H */ +#endif /* __ASM_JAZZ_H */