]> git.sur5r.net Git - u-boot/commit
m5253demo: Fix static variable in non-static inline function warning
authorTom Rini <trini@konsulko.com>
Tue, 9 May 2017 02:14:35 +0000 (22:14 -0400)
committerTom Rini <trini@konsulko.com>
Fri, 12 May 2017 12:37:33 +0000 (08:37 -0400)
commitb411f2af49117171a6f5d696f08a01b2f4a35c3b
tree8fd64b3d41280d07bc8ab12b6584ddbec6b0ac6c
parent82b9dc63db41ab7601a4caa31922ac58bf1160ef
m5253demo: Fix static variable in non-static inline function warning

The function 'spin_wheel' is declared as inline, but not static and thus
we see warnings that 'w' and 'p' are declared static in a non-static
inline function.  Correct this by marking spin_wheel as static inline.

Cc: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
board/freescale/m5253demo/flash.c