]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: 7920/1: topology: Staticise non-exported symbols
authorMark Brown <broonie@linaro.org>
Tue, 10 Dec 2013 11:10:17 +0000 (12:10 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 29 Dec 2013 12:32:42 +0000 (12:32 +0000)
commit614d289263e71c15d5237a45dd79ae6a1bf5add3
tree2654f7e7cd694eb3fc45c65af494bdef01b965ed
parent57acb373297f4dfa2df487393195d9e0cd7bbbbb
ARM: 7920/1: topology: Staticise non-exported symbols

These symbols are only referenced in this source file so can be made
static, and the efficiency table is constant data so can be declared as
such.  This avoids polluting the global namespace and fixes warnings
from sparse.

The function arch_scale_freq_power() is still not prototyped or static,
this is a separate issue as this is overriding a weak symbol from the
scheduler which neglects to provide a prototype.

Signed-off-by: Mark Brown <broonie@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/topology.c