[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1502903709-7411-2-git-send-email-bhumirks@gmail.com>
Date: Wed, 16 Aug 2017 22:45:08 +0530
From: Bhumika Goyal <bhumirks@...il.com>
To: julia.lawall@...6.fr, lgirdwood@...il.com, broonie@...nel.org,
perex@...ex.cz, tiwai@...e.com, rjui@...adcom.com,
sbranden@...adcom.com, jonmason@...adcom.com,
bcm-kernel-feedback-list@...adcom.com, alsa-devel@...a-project.org,
linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org
Cc: Bhumika Goyal <bhumirks@...il.com>
Subject: [PATCH 1/2] 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@...il.com>
---
sound/soc/bcm/cygnus-ssp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/soc/bcm/cygnus-ssp.c b/sound/soc/bcm/cygnus-ssp.c
index 1a57a4e..15c438f 100644
--- a/sound/soc/bcm/cygnus-ssp.c
+++ b/sound/soc/bcm/cygnus-ssp.c
@@ -1165,7 +1165,7 @@ static int cygnus_ssp_resume(struct snd_soc_dai *cpu_dai)
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,
--
1.9.1
Powered by blists - more mailing lists