aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc
diff options
context:
space:
mode:
authorBhumika Goyal <bhumirks@gmail.com>2017-08-16 22:45:08 +0530
committerMark Brown <broonie@kernel.org>2017-08-17 18:10:17 +0100
commitcc6e25631ddd4f3295fc79568f2145c437849e63 (patch)
treef84b57257f60fc15bca71d1025841ea322fb1401 /sound/soc
parentLinux v4.13-rc1 (diff)
downloadlinux-dev-cc6e25631ddd4f3295fc79568f2145c437849e63.tar.xz
linux-dev-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')
-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,