Skip to content

Commit 25d01dc

Browse files
Wei Yongjunbroonie
authored andcommitted
ASoC: mediatek: mt2701: fix non static symbol warning
Fixes the following sparse warning: sound/soc/mediatek/mt2701/mt2701-afe-pcm.c:72:5: warning: symbol 'mt2701_dai_num_to_i2s' was not declared. Should it be static? Signed-off-by: Wei Yongjun <[email protected]> Acked-by: Garlic Tseng <[email protected]> Signed-off-by: Mark Brown <[email protected]>
1 parent b02c5cc commit 25d01dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sound/soc/mediatek/mt2701/mt2701-afe-pcm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ static const struct mt2701_afe_rate mt2701_afe_i2s_rates[] = {
6969
{ .rate = 352800, .regvalue = 24 },
7070
};
7171

72-
int mt2701_dai_num_to_i2s(struct mtk_base_afe *afe, int num)
72+
static int mt2701_dai_num_to_i2s(struct mtk_base_afe *afe, int num)
7373
{
7474
int val = num - MT2701_IO_I2S;
7575

0 commit comments

Comments
 (0)