MIPS: MSP71xx: remove inline marking of EXPORT_SYMBOL functions
authorDenis Efremov <yefremov.denis@gmail.com>
Thu, 9 May 2013 09:36:57 +0000 (09:36 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 17 May 2013 18:36:32 +0000 (20:36 +0200)
EXPORT_SYMBOL and inline directives are contradictory to each other.
The patch fixes this inconsistency.

Found by Linux Driver Verification project (linuxtesting.org).

Signed-off-by: Denis Efremov <yefremov.denis@gmail.com>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Cc: trivial@kernel.org
Cc: ldv-project@linuxtesting.org
Patchwork: https://patchwork.linux-mips.org/patch/5227/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/pmcs-msp71xx/msp_prom.c

index 0edb89a..1c98975 100644 (file)
@@ -83,7 +83,7 @@ static inline unsigned char str2hexnum(unsigned char c)
        return 0; /* foo */
 }
 
-static inline int str2eaddr(unsigned char *ea, unsigned char *str)
+int str2eaddr(unsigned char *ea, unsigned char *str)
 {
        int index = 0;
        unsigned char num = 0;