aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2016-10-17 18:02:56 -0400
committerMark Brown <broonie@kernel.org>2016-10-24 13:26:04 -0400
commit89c03ddbb9aafe370e7d1ebe07258ae755588bdc (patch)
treef704ff7f435941aa4df27cf72a287a1d619a7b4f
parenta31b466f9541048fd00e0d2d282091c5693d79d0 (diff)
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 43c02ede76a60de ("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: Colin Ian King <colin.king@canonical.com> Reviewed-by: Takashi Sakamoto <o-takashi@sakamocchi.jp> Acked-by: Vinod Koul <vinod.koul@intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r--sound/soc/intel/boards/bxt_da7219_max98357a.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/intel/boards/bxt_da7219_max98357a.c b/sound/soc/intel/boards/bxt_da7219_max98357a.c
index 865a21e557cc..bff80b467262 100644
--- a/sound/soc/intel/boards/bxt_da7219_max98357a.c
+++ b/sound/soc/intel/boards/bxt_da7219_max98357a.c
@@ -348,7 +348,7 @@ static struct snd_soc_dai_link broxton_dais[] = {
348 .dynamic = 1, 348 .dynamic = 1,
349 .ops = &broxton_refcap_ops, 349 .ops = &broxton_refcap_ops,
350 }, 350 },
351 [BXT_DPCM_AUDIO_DMIC_CP] 351 [BXT_DPCM_AUDIO_DMIC_CP] =
352 { 352 {
353 .name = "Bxt Audio DMIC cap", 353 .name = "Bxt Audio DMIC cap",
354 .stream_name = "dmiccap", 354 .stream_name = "dmiccap",