sparc32: fix sparse warnings in leon_kernel.c
authorSam Ravnborg <sam@ravnborg.org>
Mon, 21 Apr 2014 19:39:40 +0000 (21:39 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 29 Apr 2014 05:12:27 +0000 (01:12 -0400)
commit4007b65a93e7f95723e487070265d5e3cc503d45
tree75b1f3bbe989aa8d03154d7fbba94f0791078dfe
parent985edb5b16add10bb59f53208f5c1f85f9e2e4e4
sparc32: fix sparse warnings in leon_kernel.c

Fix following warnings:
leon_kernel.c:40:15: warning: symbol 'leon3_gptimer_idx' was not declared. Should it be static?
leon_kernel.c:68:6: warning: symbol 'leon_eirq_setup' was not declared. Should it be static?
leon_kernel.c:273:13: warning: symbol 'leon_percpu_timer_ce_interrupt' was not declared. Should it be static?

Define symbols as static.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Cc: Daniel Hellstrom <daniel@gaisler.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/kernel/leon_kernel.c