]> git.karo-electronics.de Git - karo-tx-linux.git/commit
sparc32: fix sparse warnings in tadpole.c
authorSam Ravnborg <sam@ravnborg.org>
Mon, 21 Apr 2014 19:39:32 +0000 (21:39 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 29 Apr 2014 05:12:26 +0000 (01:12 -0400)
commit6b5f02f31b5eab6e92060a7396d2773b074e3288
tree9653687fd9b046e1b264674ad2c931ca013b9355
parent8885ec7ca9db1bef558c7bb913829b8fa2d7e1d3
sparc32: fix sparse warnings in tadpole.c

Fix following warnings:
tadpole.c:21:6: warning: symbol 'cpu_pwr_save' was not declared. Should it be static?
tadpole.c:101:13: warning: symbol 'clock_stop_probe' was not declared. Should it be static?

This actually revealed that cpu_pwr_save is only assigned.
It was left static with a TODO comment for now - this should be cleaned up later.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/kernel/devices.c
arch/sparc/kernel/kernel.h
arch/sparc/kernel/tadpole.c