]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: TSCS42xx: make functions pll_event and dac_event static
authorColin Ian King <colin.king@canonical.com>
Mon, 8 Jan 2018 23:14:44 +0000 (23:14 +0000)
committerMark Brown <broonie@kernel.org>
Tue, 9 Jan 2018 17:02:42 +0000 (17:02 +0000)
commit0b61d1a4646326be15baff00003ebf031c9fe772
treef18ee82accdfcba1010884ab615b0ba45637ef36
parent18ee51bb88c9ad4d02fa0cb17921ddfe83b2fd19
ASoC: TSCS42xx: make functions pll_event and dac_event static

The functions pll_event and dac_event are local to the source and do
not need to be in global scope, so make them static.

Cleans up sparse warnings:
symbol 'pll_event' was not declared. Should it be static?
symbol 'dac_event' was not declared. Should it be static?

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Reviewed-by: Steven Eckhoff <steven.eckhoff.opensource@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/tscs42xx.c