ASoC: bcm: make snd_soc_dai_driver const
authorBhumika Goyal <bhumirks@gmail.com>
Wed, 16 Aug 2017 17:15:08 +0000 (22:45 +0530)
committerMark Brown <broonie@kernel.org>
Thu, 17 Aug 2017 17:10:17 +0000 (18:10 +0100)
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>
sound/soc/bcm/cygnus-ssp.c

index e710bb0c56374b7fb97d41b588f535fc435a87e7..cdd5e82439dd08144b3e14df41a84d43cf3e5e21 100644 (file)
@@ -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,