ASoC: dapm: mark 'snd_soc_dapm_free_kcontrol' as static
authorArnd Bergmann <arnd@arndb.de>
Tue, 10 Oct 2017 09:20:11 +0000 (11:20 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 10 Oct 2017 09:30:37 +0000 (10:30 +0100)
commitc42c5ac4269bf8c0aa7ef2f4bdf328a12b03f65f
treefad47c1bca70bbcd1ac891a56db6f2eb883f52ca
parent667ebc97c99a2ea9279bf3fdd791d97adfafbbc2
ASoC: dapm: mark 'snd_soc_dapm_free_kcontrol' as static

The newly introduced function is declared as globally visible,
but is not declared in a header, causing a warning 'make W=1'
or 'make C=1':

sound/soc/soc-dapm.c:3782:1: warning: symbol 'snd_soc_dapm_free_kcontrol' was not declared. Should it be static?

The suggestion to make it static seems appropriate here, so let's
do that.

Fixes: 19ad683abc85 ("ASoC: dapm: Avoid creating kcontrol for params")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-dapm.c