aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>2016-09-26 18:45:09 -0400
committerMark Brown <broonie@kernel.org>2016-09-27 12:11:10 -0400
commit43d443dc257c00ef3a3f940b6abfb7537c4fcbe8 (patch)
tree6e227b020e2e462871d00c921855fa0909369e6a /sound
parent43c02ede76a60de38504f4f4fd6042f677be093a (diff)
ASoC: sst-bxt-da7219_max98357a: fix obsoleted initializers for array
Sparse reports below warnings. bxt_da7219_max98357a.c:250:9: warning: obsolete array initializer, use C99 syntax bxt_da7219_max98357a.c:275:9: warning: obsolete array initializer, use C99 syntax bxt_da7219_max98357a.c:290:9: warning: obsolete array initializer, use C99 syntax bxt_da7219_max98357a.c:304:9: warning: obsolete array initializer, use C99 syntax bxt_da7219_max98357a.c:317:9: warning: obsolete array initializer, use C99 syntax There's no need to use obsoleted way. This commit fixes it. Fixes: 723bad3fef8b (ASoC: Intel: Add Broxton-P Dialog Maxim machine driver) Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp> Acked-by: Vinod Koul <vinod.koul@intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/intel/boards/bxt_da7219_max98357a.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/sound/soc/intel/boards/bxt_da7219_max98357a.c b/sound/soc/intel/boards/bxt_da7219_max98357a.c
index bb4533c305c7..6532b8f0ab2f 100644
--- a/sound/soc/intel/boards/bxt_da7219_max98357a.c
+++ b/sound/soc/intel/boards/bxt_da7219_max98357a.c
@@ -302,7 +302,7 @@ static struct snd_soc_ops broxton_refcap_ops = {
302/* broxton digital audio interface glue - connects codec <--> CPU */ 302/* broxton digital audio interface glue - connects codec <--> CPU */
303static struct snd_soc_dai_link broxton_dais[] = { 303static struct snd_soc_dai_link broxton_dais[] = {
304 /* Front End DAI links */ 304 /* Front End DAI links */
305 [BXT_DPCM_AUDIO_PB] 305 [BXT_DPCM_AUDIO_PB] =
306 { 306 {
307 .name = "Bxt Audio Port", 307 .name = "Bxt Audio Port",
308 .stream_name = "Audio", 308 .stream_name = "Audio",
@@ -318,7 +318,7 @@ static struct snd_soc_dai_link broxton_dais[] = {
318 .dpcm_playback = 1, 318 .dpcm_playback = 1,
319 .ops = &broxton_da7219_fe_ops, 319 .ops = &broxton_da7219_fe_ops,
320 }, 320 },
321 [BXT_DPCM_AUDIO_CP] 321 [BXT_DPCM_AUDIO_CP] =
322 { 322 {
323 .name = "Bxt Audio Capture Port", 323 .name = "Bxt Audio Capture Port",
324 .stream_name = "Audio Record", 324 .stream_name = "Audio Record",
@@ -333,7 +333,7 @@ static struct snd_soc_dai_link broxton_dais[] = {
333 .dpcm_capture = 1, 333 .dpcm_capture = 1,
334 .ops = &broxton_da7219_fe_ops, 334 .ops = &broxton_da7219_fe_ops,
335 }, 335 },
336 [BXT_DPCM_AUDIO_REF_CP] 336 [BXT_DPCM_AUDIO_REF_CP] =
337 { 337 {
338 .name = "Bxt Audio Reference cap", 338 .name = "Bxt Audio Reference cap",
339 .stream_name = "Refcap", 339 .stream_name = "Refcap",
@@ -362,7 +362,7 @@ static struct snd_soc_dai_link broxton_dais[] = {
362 .dynamic = 1, 362 .dynamic = 1,
363 .ops = &broxton_dmic_ops, 363 .ops = &broxton_dmic_ops,
364 }, 364 },
365 [BXT_DPCM_AUDIO_HDMI1_PB] 365 [BXT_DPCM_AUDIO_HDMI1_PB] =
366 { 366 {
367 .name = "Bxt HDMI Port1", 367 .name = "Bxt HDMI Port1",
368 .stream_name = "Hdmi1", 368 .stream_name = "Hdmi1",
@@ -375,7 +375,7 @@ static struct snd_soc_dai_link broxton_dais[] = {
375 .nonatomic = 1, 375 .nonatomic = 1,
376 .dynamic = 1, 376 .dynamic = 1,
377 }, 377 },
378 [BXT_DPCM_AUDIO_HDMI2_PB] 378 [BXT_DPCM_AUDIO_HDMI2_PB] =
379 { 379 {
380 .name = "Bxt HDMI Port2", 380 .name = "Bxt HDMI Port2",
381 .stream_name = "Hdmi2", 381 .stream_name = "Hdmi2",
@@ -388,7 +388,7 @@ static struct snd_soc_dai_link broxton_dais[] = {
388 .nonatomic = 1, 388 .nonatomic = 1,
389 .dynamic = 1, 389 .dynamic = 1,
390 }, 390 },
391 [BXT_DPCM_AUDIO_HDMI3_PB] 391 [BXT_DPCM_AUDIO_HDMI3_PB] =
392 { 392 {
393 .name = "Bxt HDMI Port3", 393 .name = "Bxt HDMI Port3",
394 .stream_name = "Hdmi3", 394 .stream_name = "Hdmi3",