summaryrefslogtreecommitdiff
path: root/arch/mips/include
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2013-01-16 02:39:22 +0000
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>2013-01-22 20:52:08 +0100
commitbe002d0070c7021913e4b512c82a16cfcfae3a42 (patch)
tree0b3e9372249599cfe6c49f6f5247b0a30e9223c6 /arch/mips/include
parent54b08efcf2f4ff532ce99c53f341a59c193331a5 (diff)
downloadu-boot-imx-be002d0070c7021913e4b512c82a16cfcfae3a42.zip
u-boot-imx-be002d0070c7021913e4b512c82a16cfcfae3a42.tar.gz
u-boot-imx-be002d0070c7021913e4b512c82a16cfcfae3a42.tar.bz2
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 <juhosg@openwrt.org> Cc: Daniel Schwierzeck <daniel.schwierzeck@googlemail.com>
Diffstat (limited to 'arch/mips/include')
-rw-r--r--arch/mips/include/asm/io.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/include/asm/io.h b/arch/mips/include/asm/io.h
index 80eab75..50466f2 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