From: Denis Efremov Date: Thu, 9 May 2013 09:36:57 +0000 (+0000) Subject: MIPS: MSP71xx: remove inline marking of EXPORT_SYMBOL functions X-Git-Tag: upstream/snapshot3+hdmi~5070^2~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d552b233f692416d63bb93eb35bf24e5c95c7e0b;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git MIPS: MSP71xx: remove inline marking of EXPORT_SYMBOL functions 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 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 --- diff --git a/arch/mips/pmcs-msp71xx/msp_prom.c b/arch/mips/pmcs-msp71xx/msp_prom.c index 0edb89a..1c98975 100644 --- a/arch/mips/pmcs-msp71xx/msp_prom.c +++ b/arch/mips/pmcs-msp71xx/msp_prom.c @@ -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;