projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5771a8c
)
ASoC: bcm: make snd_soc_dai_driver const
author
Bhumika Goyal
<bhumirks@gmail.com>
Wed, 16 Aug 2017 17:15:08 +0000
(22:45 +0530)
committer
Mark 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
patch
|
blob
|
blame
|
history
diff --git
a/sound/soc/bcm/cygnus-ssp.c
b/sound/soc/bcm/cygnus-ssp.c
index e710bb0c56374b7fb97d41b588f535fc435a87e7..cdd5e82439dd08144b3e14df41a84d43cf3e5e21 100644
(file)
--- 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,