git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ASoC: codecs: constify snd_soc_dai_ops structures
[sfrench/cifs-2.6.git]
/
sound
/
soc
/
codecs
/
cs42l42.c
diff --git
a/sound/soc/codecs/cs42l42.c
b/sound/soc/codecs/cs42l42.c
index 55e4520cdcaf923f6c2b8d0f00027157aafb57a5..9e860dfa0163f2e8f31134f875a8414c5c6add45 100644
(file)
--- a/
sound/soc/codecs/cs42l42.c
+++ b/
sound/soc/codecs/cs42l42.c
@@
-911,7
+911,7
@@
static int cs42l42_digital_mute(struct snd_soc_dai *dai, int mute)
SNDRV_PCM_FMTBIT_S32_LE)
-static struct snd_soc_dai_ops cs42l42_ops = {
+static
const
struct snd_soc_dai_ops cs42l42_ops = {
.hw_params = cs42l42_pcm_hw_params,
.set_fmt = cs42l42_set_dai_fmt,
.set_sysclk = cs42l42_set_sysclk,