提交 6b0a0b3b 编写于 作者: L Lars-Peter Clausen 提交者: Mark Brown

ASoC: Make soc_find_matching_codec() static

The function is only used locally, make it static.

Fixes the following warning from sparse:
	sound/soc/soc-core.c:1644:22: warning: symbol 'soc_find_matching_codec' was not declared. Should it be static?

Fixes: 3ca041ed ("ASoC: dt: Allow Aux Codecs to be specified using DT")
Signed-off-by: NLars-Peter Clausen <lars@metafoo.de>
Acked-By: NSebastian Reichel <sre@kernel.org>
Signed-off-by: NMark Brown <broonie@linaro.org>
上级 3ca041ed
......@@ -1543,7 +1543,8 @@ static void soc_unregister_ac97_dai_link(struct snd_soc_codec *codec)
}
#endif
struct snd_soc_codec *soc_find_matching_codec(struct snd_soc_card *card, int num)
static struct snd_soc_codec *soc_find_matching_codec(struct snd_soc_card *card,
int num)
{
struct snd_soc_aux_dev *aux_dev = &card->aux_dev[num];
struct snd_soc_codec *codec;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册