From: Gabor Juhos Date: Wed, 16 Jan 2013 02:39:22 +0000 (+0000) Subject: MIPS: use inline directive for __in*s functions X-Git-Tag: v2013.04-rc1~136^2~17 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=be002d0070c7021913e4b512c82a16cfcfae3a42;p=karo-tx-uboot.git MIPS: use inline directive for __in*s functions All other IO accessor functions are using the 'inline' directive. Use that also for the __in*s to make it consistent with the other variants. Signed-off-by: Gabor Juhos Cc: Daniel Schwierzeck --- diff --git a/arch/mips/include/asm/io.h b/arch/mips/include/asm/io.h index 80eab75e15..50466f2c93 100644 --- a/arch/mips/include/asm/io.h +++ b/arch/mips/include/asm/io.h @@ -268,7 +268,7 @@ __OUT1(s##c_p) __OUT2(m) : : "r" (__ioswab##w(value)), "ir" (port), "r" (mips_io SLOW_DOWN_IO; } #define __IN1(t,s) \ -extern __inline__ t __in##s(unsigned int port) { t _v; +extern inline t __in##s(unsigned int port) { t _v; /* * Required nops will be inserted by the assembler