summaryrefslogtreecommitdiffstats
path: root/sound/soc/bcm
diff options
context:
space:
mode:
authorBhumika Goyal <bhumirks@gmail.com>2017-08-16 19:15:08 +0200
committerMark Brown <broonie@kernel.org>2017-08-17 19:10:17 +0200
commitcc6e25631ddd4f3295fc79568f2145c437849e63 (patch)
treef84b57257f60fc15bca71d1025841ea322fb1401 /sound/soc/bcm
parentLinux v4.13-rc1 (diff)
downloadlinux-cc6e25631ddd4f3295fc79568f2145c437849e63.tar.xz
linux-cc6e25631ddd4f3295fc79568f2145c437849e63.zip
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>
Diffstat (limited to 'sound/soc/bcm')
-rw-r--r--sound/soc/bcm/cygnus-ssp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/bcm/cygnus-ssp.c b/sound/soc/bcm/cygnus-ssp.c
index e710bb0c5637..cdd5e82439dd 100644
--- a/sound/soc/bcm/cygnus-ssp.c
+++ b/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,