MIPS: MSP71xx: remove inline marking of EXPORT_SYMBOL functions
authorDenis Efremov <[email protected]>
Thu, 9 May 2013 09:36:57 +0000 (09:36 +0000)
committerRalf Baechle <[email protected]>
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 <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Patchwork: https://patchwork.linux-mips.org/patch/5227/
Signed-off-by: Ralf Baechle <[email protected]>
arch/mips/pmcs-msp71xx/msp_prom.c

index 0edb89a6351610480833ee81d5e996b45ee3ea45..1c98975316604aa27517afec87cb450bf459d6bd 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;