Browse Source

ASoC: davinci-mcasp: Correct dai driver struct initialization for 2nd dai

Add .name when assigning the dai name.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Peter Ujfalusi 11 years ago
parent
commit
58e48d9774
1 changed files with 1 additions and 1 deletions
  1. 1 1
      sound/soc/davinci/davinci-mcasp.c

+ 1 - 1
sound/soc/davinci/davinci-mcasp.c

@@ -987,7 +987,7 @@ static struct snd_soc_dai_driver davinci_mcasp_dai[] = {
 
 
 	},
 	},
 	{
 	{
-		"davinci-mcasp.1",
+		.name		= "davinci-mcasp.1",
 		.playback 	= {
 		.playback 	= {
 			.channels_min	= 1,
 			.channels_min	= 1,
 			.channels_max	= 384,
 			.channels_max	= 384,