提交 89c03ddb 编写于 作者: C Colin Ian King 提交者: Mark Brown

ASoC: sst-bxt-da7219_max98357a: fix obsoleted initializer for array

Smatch reports below warnings:

    bxt_da7219_max98357a.c:352:9: warning: obsolete array initializer,
    use C99 syntax

An earlier commit cleaned up similar warnings, however, a recent
commit 43c02ede ("ASoC: Intel: Add DMIC channel constraint for
bxt machine") re-introduced the older initializer style. So fix
this warning to make the code consistent.
Signed-off-by: NColin Ian King <colin.king@canonical.com>
Reviewed-by: NTakashi Sakamoto <o-takashi@sakamocchi.jp>
Acked-by: NVinod Koul <vinod.koul@intel.com>
Signed-off-by: NMark Brown <broonie@kernel.org>
上级 a31b466f
...@@ -348,7 +348,7 @@ static struct snd_soc_dai_link broxton_dais[] = { ...@@ -348,7 +348,7 @@ static struct snd_soc_dai_link broxton_dais[] = {
.dynamic = 1, .dynamic = 1,
.ops = &broxton_refcap_ops, .ops = &broxton_refcap_ops,
}, },
[BXT_DPCM_AUDIO_DMIC_CP] [BXT_DPCM_AUDIO_DMIC_CP] =
{ {
.name = "Bxt Audio DMIC cap", .name = "Bxt Audio DMIC cap",
.stream_name = "dmiccap", .stream_name = "dmiccap",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册