ASoC: hdmi-codec: make a function and two arrays static
authorColin Ian King <colin.king@canonical.com>
Sat, 12 Aug 2017 22:50:28 +0000 (23:50 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 14 Aug 2017 16:41:32 +0000 (17:41 +0100)
commit3013c75fadc581160be8d89c2c0f29219971c58f
tree3e3faa32af4dfc16228afb3a62330fc6aedfe0f0
parent61b3b3cc68c4161ba202f401a6572250360ff18c
ASoC: hdmi-codec: make a function and two arrays static

The function hdmi_codec_eld_chmap and arrays hdmi_codec_stereo_chmaps
and hdmi_codec_8ch_chmaps are local to the source and do not need to
be in global scope, so make them static.

Cleans up sparse warnings:
symbol 'hdmi_codec_eld_chmap' was not declared. Should it be static?
symbol 'hdmi_codec_stereo_chmaps' was not declared. Should it be static?
symbol 'hdmi_codec_8ch_chmaps' was not declared. Should it be static?

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/hdmi-codec.c