]> git.baikalelectronics.ru Git - kernel.git/commit
sparc32: fix sparse warnings in leon_pmc.c
authorSam Ravnborg <sam@ravnborg.org>
Mon, 21 Apr 2014 19:39:41 +0000 (21:39 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 29 Apr 2014 05:12:27 +0000 (01:12 -0400)
commitf2ee6875b3664c3bb420bec7e890fca63f786824
treece3eb0448e3bd1860fbfc70a27b6e448dcd90c9a
parentef0ba428668efd932ef2157158dfe773705fc91b
sparc32: fix sparse warnings in leon_pmc.c

Fix following warnings:
leon_pmc.c:15:14: warning: symbol 'pmc_leon_fixup_ids' was not declared. Should it be static?
leon_pmc.c:22:5: warning: symbol 'pmc_leon_need_fixup' was not declared. Should it be static?
leon_pmc.c:41:6: warning: symbol 'pmc_leon_idle_fixup' was not declared. Should it be static?
leon_pmc.c:65:6: warning: symbol 'pmc_leon_idle' was not declared. Should it be static?

Add static to definitions.

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_pmc.c