Browse Source

ASoC: bcm: make snd_soc_dai_driver const

Make this const as it is only used during a copy operation.
Done using Coccinelle.

Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Bhumika Goyal 8 years ago
parent
commit
cc6e25631d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      sound/soc/bcm/cygnus-ssp.c

+ 1 - 1
sound/soc/bcm/cygnus-ssp.c

@@ -1288,7 +1288,7 @@ static const struct snd_soc_dai_driver cygnus_ssp_dai_info[] = {
 	INIT_CPU_DAI(2),
 };
 
-static struct snd_soc_dai_driver cygnus_spdif_dai_info = {
+static const struct snd_soc_dai_driver cygnus_spdif_dai_info = {
 	.name = "cygnus-spdif",
 	.playback = {
 		.channels_min = 2,