]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: OMAP4+: Fix sparse warning in system timers
authorJon Hunter <jon-hunter@ti.com>
Fri, 1 Feb 2013 23:25:42 +0000 (17:25 -0600)
committerJon Hunter <jon-hunter@ti.com>
Mon, 1 Apr 2013 18:49:46 +0000 (13:49 -0500)
commitaa778864b21bdeb1f94a2effc2fdc5c3cfb8ffd9
tree4d46edf1e840fc16c671e84d0e86921ba005df44
parentebf0b1c30d6a3e090a18314f7a8734d908da394d
ARM: OMAP4+: Fix sparse warning in system timers

Commit b532a1b (ARM: delete struct sys_timer) changed the function
created by the macro OMAP_SYS_32K_TIMER_INIT from static void to void.
For OMAP4+ devices this created the following sparse warning ...

arch/arm/mach-omap2/timer.c:585:1: warning: symbol
'omap4_sync32k_timer_init' was not declared. Should it be static?

The function omap4_sync32k_timer_init() is not referenced outside of the
file timer.c and so make this function static.

Signed-off-by: Jon Hunter <jon-hunter@ti.com>
arch/arm/mach-omap2/timer.c