aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/codecs')
-rw-r--r--sound/soc/codecs/88pm860x-codec.c4
-rw-r--r--sound/soc/codecs/ac97.c2
-rw-r--r--sound/soc/codecs/ad1836.c2
-rw-r--r--sound/soc/codecs/ad193x.c2
-rw-r--r--sound/soc/codecs/adau1373.c2
-rw-r--r--sound/soc/codecs/adau1701.c2
-rw-r--r--sound/soc/codecs/adav80x.c2
-rw-r--r--sound/soc/codecs/ak4104.c2
-rw-r--r--sound/soc/codecs/ak4535.c2
-rw-r--r--sound/soc/codecs/ak4641.c4
-rw-r--r--sound/soc/codecs/ak4642.c2
-rw-r--r--sound/soc/codecs/ak4671.c2
-rw-r--r--sound/soc/codecs/alc5623.c2
-rw-r--r--sound/soc/codecs/alc5632.c2
-rw-r--r--sound/soc/codecs/cq93vc.c2
-rw-r--r--sound/soc/codecs/cs4270.c2
-rw-r--r--sound/soc/codecs/cs4271.c2
-rw-r--r--sound/soc/codecs/cs42l51.c2
-rw-r--r--sound/soc/codecs/cs42l73.c2
-rw-r--r--sound/soc/codecs/da7210.c2
-rw-r--r--sound/soc/codecs/jz4740.c2
-rw-r--r--sound/soc/codecs/max98088.c4
-rw-r--r--sound/soc/codecs/max98095.c6
-rw-r--r--sound/soc/codecs/max9850.c2
-rw-r--r--sound/soc/codecs/rt5631.c2
-rw-r--r--sound/soc/codecs/sgtl5000.c2
-rw-r--r--sound/soc/codecs/sn95031.c8
-rw-r--r--sound/soc/codecs/ssm2602.c2
-rw-r--r--sound/soc/codecs/sta32x.c2
-rw-r--r--sound/soc/codecs/stac9766.c4
-rw-r--r--sound/soc/codecs/tlv320aic23.c2
-rw-r--r--sound/soc/codecs/tlv320aic26.c2
-rw-r--r--sound/soc/codecs/tlv320aic32x4.c2
-rw-r--r--sound/soc/codecs/tlv320aic3x.c2
-rw-r--r--sound/soc/codecs/tlv320dac33.c2
-rw-r--r--sound/soc/codecs/twl4030.c4
-rw-r--r--sound/soc/codecs/twl6040.c2
-rw-r--r--sound/soc/codecs/uda134x.c2
-rw-r--r--sound/soc/codecs/uda1380.c6
-rw-r--r--sound/soc/codecs/wl1273.c2
-rw-r--r--sound/soc/codecs/wm5100.c2
-rw-r--r--sound/soc/codecs/wm8350.c2
-rw-r--r--sound/soc/codecs/wm8400.c2
-rw-r--r--sound/soc/codecs/wm8510.c2
-rw-r--r--sound/soc/codecs/wm8523.c2
-rw-r--r--sound/soc/codecs/wm8580.c4
-rw-r--r--sound/soc/codecs/wm8711.c2
-rw-r--r--sound/soc/codecs/wm8728.c2
-rw-r--r--sound/soc/codecs/wm8731.c2
-rw-r--r--sound/soc/codecs/wm8737.c2
-rw-r--r--sound/soc/codecs/wm8741.c2
-rw-r--r--sound/soc/codecs/wm8750.c2
-rw-r--r--sound/soc/codecs/wm8753.c4
-rw-r--r--sound/soc/codecs/wm8770.c2
-rw-r--r--sound/soc/codecs/wm8776.c4
-rw-r--r--sound/soc/codecs/wm8804.c2
-rw-r--r--sound/soc/codecs/wm8900.c2
-rw-r--r--sound/soc/codecs/wm8903.c2
-rw-r--r--sound/soc/codecs/wm8904.c2
-rw-r--r--sound/soc/codecs/wm8940.c2
-rw-r--r--sound/soc/codecs/wm8955.c2
-rw-r--r--sound/soc/codecs/wm8960.c2
-rw-r--r--sound/soc/codecs/wm8961.c2
-rw-r--r--sound/soc/codecs/wm8962.c2
-rw-r--r--sound/soc/codecs/wm8971.c2
-rw-r--r--sound/soc/codecs/wm8974.c2
-rw-r--r--sound/soc/codecs/wm8978.c2
-rw-r--r--sound/soc/codecs/wm8983.c2
-rw-r--r--sound/soc/codecs/wm8985.c2
-rw-r--r--sound/soc/codecs/wm8988.c2
-rw-r--r--sound/soc/codecs/wm8990.c2
-rw-r--r--sound/soc/codecs/wm8991.c2
-rw-r--r--sound/soc/codecs/wm8993.c2
-rw-r--r--sound/soc/codecs/wm8994.c6
-rw-r--r--sound/soc/codecs/wm8995.c6
-rw-r--r--sound/soc/codecs/wm8996.c2
-rw-r--r--sound/soc/codecs/wm9081.c2
-rw-r--r--sound/soc/codecs/wm9705.c2
-rw-r--r--sound/soc/codecs/wm9712.c4
-rw-r--r--sound/soc/codecs/wm9713.c6
80 files changed, 102 insertions, 102 deletions
diff --git a/sound/soc/codecs/88pm860x-codec.c b/sound/soc/codecs/88pm860x-codec.c
index 5ca122e51183..ea305b88cb55 100644
--- a/sound/soc/codecs/88pm860x-codec.c
+++ b/sound/soc/codecs/88pm860x-codec.c
@@ -1198,14 +1198,14 @@ static int pm860x_set_bias_level(struct snd_soc_codec *codec,
1198 return 0; 1198 return 0;
1199} 1199}
1200 1200
1201static struct snd_soc_dai_ops pm860x_pcm_dai_ops = { 1201static const struct snd_soc_dai_ops pm860x_pcm_dai_ops = {
1202 .digital_mute = pm860x_digital_mute, 1202 .digital_mute = pm860x_digital_mute,
1203 .hw_params = pm860x_pcm_hw_params, 1203 .hw_params = pm860x_pcm_hw_params,
1204 .set_fmt = pm860x_pcm_set_dai_fmt, 1204 .set_fmt = pm860x_pcm_set_dai_fmt,
1205 .set_sysclk = pm860x_set_dai_sysclk, 1205 .set_sysclk = pm860x_set_dai_sysclk,
1206}; 1206};
1207 1207
1208static struct snd_soc_dai_ops pm860x_i2s_dai_ops = { 1208static const struct snd_soc_dai_ops pm860x_i2s_dai_ops = {
1209 .digital_mute = pm860x_digital_mute, 1209 .digital_mute = pm860x_digital_mute,
1210 .hw_params = pm860x_i2s_hw_params, 1210 .hw_params = pm860x_i2s_hw_params,
1211 .set_fmt = pm860x_i2s_set_dai_fmt, 1211 .set_fmt = pm860x_i2s_set_dai_fmt,
diff --git a/sound/soc/codecs/ac97.c b/sound/soc/codecs/ac97.c
index e715186b4300..8f3216793eb5 100644
--- a/sound/soc/codecs/ac97.c
+++ b/sound/soc/codecs/ac97.c
@@ -39,7 +39,7 @@ static int ac97_prepare(struct snd_pcm_substream *substream,
39 SNDRV_PCM_RATE_22050 | SNDRV_PCM_RATE_44100 |\ 39 SNDRV_PCM_RATE_22050 | SNDRV_PCM_RATE_44100 |\
40 SNDRV_PCM_RATE_48000) 40 SNDRV_PCM_RATE_48000)
41 41
42static struct snd_soc_dai_ops ac97_dai_ops = { 42static const struct snd_soc_dai_ops ac97_dai_ops = {
43 .prepare = ac97_prepare, 43 .prepare = ac97_prepare,
44}; 44};
45 45
diff --git a/sound/soc/codecs/ad1836.c b/sound/soc/codecs/ad1836.c
index 4e5c5726366b..fab0948f7a54 100644
--- a/sound/soc/codecs/ad1836.c
+++ b/sound/soc/codecs/ad1836.c
@@ -189,7 +189,7 @@ static int ad1836_hw_params(struct snd_pcm_substream *substream,
189 return 0; 189 return 0;
190} 190}
191 191
192static struct snd_soc_dai_ops ad1836_dai_ops = { 192static const struct snd_soc_dai_ops ad1836_dai_ops = {
193 .hw_params = ad1836_hw_params, 193 .hw_params = ad1836_hw_params,
194 .set_fmt = ad1836_set_dai_fmt, 194 .set_fmt = ad1836_set_dai_fmt,
195}; 195};
diff --git a/sound/soc/codecs/ad193x.c b/sound/soc/codecs/ad193x.c
index 120602130b5c..1901cd222233 100644
--- a/sound/soc/codecs/ad193x.c
+++ b/sound/soc/codecs/ad193x.c
@@ -312,7 +312,7 @@ static int ad193x_hw_params(struct snd_pcm_substream *substream,
312 return 0; 312 return 0;
313} 313}
314 314
315static struct snd_soc_dai_ops ad193x_dai_ops = { 315static const struct snd_soc_dai_ops ad193x_dai_ops = {
316 .hw_params = ad193x_hw_params, 316 .hw_params = ad193x_hw_params,
317 .digital_mute = ad193x_mute, 317 .digital_mute = ad193x_mute,
318 .set_tdm_slot = ad193x_set_tdm_slot, 318 .set_tdm_slot = ad193x_set_tdm_slot,
diff --git a/sound/soc/codecs/adau1373.c b/sound/soc/codecs/adau1373.c
index 45c63028b40d..2e040af9ad57 100644
--- a/sound/soc/codecs/adau1373.c
+++ b/sound/soc/codecs/adau1373.c
@@ -1042,7 +1042,7 @@ static int adau1373_set_dai_sysclk(struct snd_soc_dai *dai,
1042 return 0; 1042 return 0;
1043} 1043}
1044 1044
1045static const struct snd_soc_dai_ops adau1373_dai_ops = { 1045static const const struct snd_soc_dai_ops adau1373_dai_ops = {
1046 .hw_params = adau1373_hw_params, 1046 .hw_params = adau1373_hw_params,
1047 .set_sysclk = adau1373_set_dai_sysclk, 1047 .set_sysclk = adau1373_set_dai_sysclk,
1048 .set_fmt = adau1373_set_dai_fmt, 1048 .set_fmt = adau1373_set_dai_fmt,
diff --git a/sound/soc/codecs/adau1701.c b/sound/soc/codecs/adau1701.c
index 8b7e1c50d6e9..c69bdfe745bb 100644
--- a/sound/soc/codecs/adau1701.c
+++ b/sound/soc/codecs/adau1701.c
@@ -427,7 +427,7 @@ static int adau1701_set_sysclk(struct snd_soc_codec *codec, int clk_id,
427#define ADAU1701_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S20_3LE |\ 427#define ADAU1701_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S20_3LE |\
428 SNDRV_PCM_FMTBIT_S24_LE) 428 SNDRV_PCM_FMTBIT_S24_LE)
429 429
430static const struct snd_soc_dai_ops adau1701_dai_ops = { 430static const const struct snd_soc_dai_ops adau1701_dai_ops = {
431 .set_fmt = adau1701_set_dai_fmt, 431 .set_fmt = adau1701_set_dai_fmt,
432 .hw_params = adau1701_hw_params, 432 .hw_params = adau1701_hw_params,
433 .digital_mute = adau1701_digital_mute, 433 .digital_mute = adau1701_digital_mute,
diff --git a/sound/soc/codecs/adav80x.c b/sound/soc/codecs/adav80x.c
index f9f08948e5e8..d927febd02cc 100644
--- a/sound/soc/codecs/adav80x.c
+++ b/sound/soc/codecs/adav80x.c
@@ -718,7 +718,7 @@ static void adav80x_dai_shutdown(struct snd_pcm_substream *substream,
718 adav80x->rate = 0; 718 adav80x->rate = 0;
719} 719}
720 720
721static const struct snd_soc_dai_ops adav80x_dai_ops = { 721static const const struct snd_soc_dai_ops adav80x_dai_ops = {
722 .set_fmt = adav80x_set_dai_fmt, 722 .set_fmt = adav80x_set_dai_fmt,
723 .hw_params = adav80x_hw_params, 723 .hw_params = adav80x_hw_params,
724 .startup = adav80x_dai_startup, 724 .startup = adav80x_dai_startup,
diff --git a/sound/soc/codecs/ak4104.c b/sound/soc/codecs/ak4104.c
index d3b29dce6ed7..152420ca78b8 100644
--- a/sound/soc/codecs/ak4104.c
+++ b/sound/soc/codecs/ak4104.c
@@ -170,7 +170,7 @@ static int ak4104_hw_params(struct snd_pcm_substream *substream,
170 return ak4104_spi_write(codec, AK4104_REG_CHN_STATUS(3), val); 170 return ak4104_spi_write(codec, AK4104_REG_CHN_STATUS(3), val);
171} 171}
172 172
173static struct snd_soc_dai_ops ak4101_dai_ops = { 173static const struct snd_soc_dai_ops ak4101_dai_ops = {
174 .hw_params = ak4104_hw_params, 174 .hw_params = ak4104_hw_params,
175 .set_fmt = ak4104_set_dai_fmt, 175 .set_fmt = ak4104_set_dai_fmt,
176}; 176};
diff --git a/sound/soc/codecs/ak4535.c b/sound/soc/codecs/ak4535.c
index 95d782d86e7d..f6c47345bcc8 100644
--- a/sound/soc/codecs/ak4535.c
+++ b/sound/soc/codecs/ak4535.c
@@ -331,7 +331,7 @@ static int ak4535_set_bias_level(struct snd_soc_codec *codec,
331 SNDRV_PCM_RATE_16000 | SNDRV_PCM_RATE_22050 |\ 331 SNDRV_PCM_RATE_16000 | SNDRV_PCM_RATE_22050 |\
332 SNDRV_PCM_RATE_44100 | SNDRV_PCM_RATE_48000) 332 SNDRV_PCM_RATE_44100 | SNDRV_PCM_RATE_48000)
333 333
334static struct snd_soc_dai_ops ak4535_dai_ops = { 334static const struct snd_soc_dai_ops ak4535_dai_ops = {
335 .hw_params = ak4535_hw_params, 335 .hw_params = ak4535_hw_params,
336 .set_fmt = ak4535_set_dai_fmt, 336 .set_fmt = ak4535_set_dai_fmt,
337 .digital_mute = ak4535_mute, 337 .digital_mute = ak4535_mute,
diff --git a/sound/soc/codecs/ak4641.c b/sound/soc/codecs/ak4641.c
index 77838586f358..3657c76cc127 100644
--- a/sound/soc/codecs/ak4641.c
+++ b/sound/soc/codecs/ak4641.c
@@ -442,14 +442,14 @@ static int ak4641_set_bias_level(struct snd_soc_codec *codec,
442 SNDRV_PCM_RATE_16000) 442 SNDRV_PCM_RATE_16000)
443#define AK4641_FORMATS (SNDRV_PCM_FMTBIT_S16_LE) 443#define AK4641_FORMATS (SNDRV_PCM_FMTBIT_S16_LE)
444 444
445static struct snd_soc_dai_ops ak4641_i2s_dai_ops = { 445static const struct snd_soc_dai_ops ak4641_i2s_dai_ops = {
446 .hw_params = ak4641_i2s_hw_params, 446 .hw_params = ak4641_i2s_hw_params,
447 .set_fmt = ak4641_i2s_set_dai_fmt, 447 .set_fmt = ak4641_i2s_set_dai_fmt,
448 .digital_mute = ak4641_mute, 448 .digital_mute = ak4641_mute,
449 .set_sysclk = ak4641_set_dai_sysclk, 449 .set_sysclk = ak4641_set_dai_sysclk,
450}; 450};
451 451
452static struct snd_soc_dai_ops ak4641_pcm_dai_ops = { 452static const struct snd_soc_dai_ops ak4641_pcm_dai_ops = {
453 .hw_params = NULL, /* rates are controlled by BT chip */ 453 .hw_params = NULL, /* rates are controlled by BT chip */
454 .set_fmt = ak4641_pcm_set_dai_fmt, 454 .set_fmt = ak4641_pcm_set_dai_fmt,
455 .digital_mute = ak4641_mute, 455 .digital_mute = ak4641_mute,
diff --git a/sound/soc/codecs/ak4642.c b/sound/soc/codecs/ak4642.c
index 859e0155e18d..c887ddf1061e 100644
--- a/sound/soc/codecs/ak4642.c
+++ b/sound/soc/codecs/ak4642.c
@@ -435,7 +435,7 @@ static int ak4642_set_bias_level(struct snd_soc_codec *codec,
435 return 0; 435 return 0;
436} 436}
437 437
438static struct snd_soc_dai_ops ak4642_dai_ops = { 438static const struct snd_soc_dai_ops ak4642_dai_ops = {
439 .startup = ak4642_dai_startup, 439 .startup = ak4642_dai_startup,
440 .shutdown = ak4642_dai_shutdown, 440 .shutdown = ak4642_dai_shutdown,
441 .set_sysclk = ak4642_dai_set_sysclk, 441 .set_sysclk = ak4642_dai_set_sysclk,
diff --git a/sound/soc/codecs/ak4671.c b/sound/soc/codecs/ak4671.c
index de9ff66d3721..4f5c69f735a9 100644
--- a/sound/soc/codecs/ak4671.c
+++ b/sound/soc/codecs/ak4671.c
@@ -594,7 +594,7 @@ static int ak4671_set_bias_level(struct snd_soc_codec *codec,
594 594
595#define AK4671_FORMATS SNDRV_PCM_FMTBIT_S16_LE 595#define AK4671_FORMATS SNDRV_PCM_FMTBIT_S16_LE
596 596
597static struct snd_soc_dai_ops ak4671_dai_ops = { 597static const struct snd_soc_dai_ops ak4671_dai_ops = {
598 .hw_params = ak4671_hw_params, 598 .hw_params = ak4671_hw_params,
599 .set_sysclk = ak4671_set_dai_sysclk, 599 .set_sysclk = ak4671_set_dai_sysclk,
600 .set_fmt = ak4671_set_dai_fmt, 600 .set_fmt = ak4671_set_dai_fmt,
diff --git a/sound/soc/codecs/alc5623.c b/sound/soc/codecs/alc5623.c
index 984b14bcb605..88647d3ab24b 100644
--- a/sound/soc/codecs/alc5623.c
+++ b/sound/soc/codecs/alc5623.c
@@ -839,7 +839,7 @@ static int alc5623_set_bias_level(struct snd_soc_codec *codec,
839 | SNDRV_PCM_FMTBIT_S24_LE \ 839 | SNDRV_PCM_FMTBIT_S24_LE \
840 | SNDRV_PCM_FMTBIT_S32_LE) 840 | SNDRV_PCM_FMTBIT_S32_LE)
841 841
842static struct snd_soc_dai_ops alc5623_dai_ops = { 842static const struct snd_soc_dai_ops alc5623_dai_ops = {
843 .hw_params = alc5623_pcm_hw_params, 843 .hw_params = alc5623_pcm_hw_params,
844 .digital_mute = alc5623_mute, 844 .digital_mute = alc5623_mute,
845 .set_fmt = alc5623_set_dai_fmt, 845 .set_fmt = alc5623_set_dai_fmt,
diff --git a/sound/soc/codecs/alc5632.c b/sound/soc/codecs/alc5632.c
index 2d77665eb854..3f750def8967 100644
--- a/sound/soc/codecs/alc5632.c
+++ b/sound/soc/codecs/alc5632.c
@@ -924,7 +924,7 @@ static int alc5632_set_bias_level(struct snd_soc_codec *codec,
924 | SNDRV_PCM_FMTBIT_S24_LE \ 924 | SNDRV_PCM_FMTBIT_S24_LE \
925 | SNDRV_PCM_FMTBIT_S32_LE) 925 | SNDRV_PCM_FMTBIT_S32_LE)
926 926
927static struct snd_soc_dai_ops alc5632_dai_ops = { 927static const struct snd_soc_dai_ops alc5632_dai_ops = {
928 .hw_params = alc5632_pcm_hw_params, 928 .hw_params = alc5632_pcm_hw_params,
929 .digital_mute = alc5632_mute, 929 .digital_mute = alc5632_mute,
930 .set_fmt = alc5632_set_dai_fmt, 930 .set_fmt = alc5632_set_dai_fmt,
diff --git a/sound/soc/codecs/cq93vc.c b/sound/soc/codecs/cq93vc.c
index 46dbfd067f79..cbb3028e2008 100644
--- a/sound/soc/codecs/cq93vc.c
+++ b/sound/soc/codecs/cq93vc.c
@@ -122,7 +122,7 @@ static int cq93vc_set_bias_level(struct snd_soc_codec *codec,
122#define CQ93VC_RATES (SNDRV_PCM_RATE_8000 | SNDRV_PCM_RATE_16000) 122#define CQ93VC_RATES (SNDRV_PCM_RATE_8000 | SNDRV_PCM_RATE_16000)
123#define CQ93VC_FORMATS (SNDRV_PCM_FMTBIT_U8 | SNDRV_PCM_FMTBIT_S16_LE) 123#define CQ93VC_FORMATS (SNDRV_PCM_FMTBIT_U8 | SNDRV_PCM_FMTBIT_S16_LE)
124 124
125static struct snd_soc_dai_ops cq93vc_dai_ops = { 125static const struct snd_soc_dai_ops cq93vc_dai_ops = {
126 .digital_mute = cq93vc_mute, 126 .digital_mute = cq93vc_mute,
127 .set_sysclk = cq93vc_set_dai_sysclk, 127 .set_sysclk = cq93vc_set_dai_sysclk,
128}; 128};
diff --git a/sound/soc/codecs/cs4270.c b/sound/soc/codecs/cs4270.c
index 73f46eb459f1..5396b91fa5f1 100644
--- a/sound/soc/codecs/cs4270.c
+++ b/sound/soc/codecs/cs4270.c
@@ -447,7 +447,7 @@ static const struct snd_kcontrol_new cs4270_snd_controls[] = {
447 snd_soc_get_volsw, cs4270_soc_put_mute), 447 snd_soc_get_volsw, cs4270_soc_put_mute),
448}; 448};
449 449
450static struct snd_soc_dai_ops cs4270_dai_ops = { 450static const struct snd_soc_dai_ops cs4270_dai_ops = {
451 .hw_params = cs4270_hw_params, 451 .hw_params = cs4270_hw_params,
452 .set_sysclk = cs4270_set_dai_sysclk, 452 .set_sysclk = cs4270_set_dai_sysclk,
453 .set_fmt = cs4270_set_dai_fmt, 453 .set_fmt = cs4270_set_dai_fmt,
diff --git a/sound/soc/codecs/cs4271.c b/sound/soc/codecs/cs4271.c
index 69fde1506fe1..a6f77a855f45 100644
--- a/sound/soc/codecs/cs4271.c
+++ b/sound/soc/codecs/cs4271.c
@@ -402,7 +402,7 @@ static const struct snd_kcontrol_new cs4271_snd_controls[] = {
402 7, 1, 1), 402 7, 1, 1),
403}; 403};
404 404
405static struct snd_soc_dai_ops cs4271_dai_ops = { 405static const struct snd_soc_dai_ops cs4271_dai_ops = {
406 .hw_params = cs4271_hw_params, 406 .hw_params = cs4271_hw_params,
407 .set_sysclk = cs4271_set_dai_sysclk, 407 .set_sysclk = cs4271_set_dai_sysclk,
408 .set_fmt = cs4271_set_dai_fmt, 408 .set_fmt = cs4271_set_dai_fmt,
diff --git a/sound/soc/codecs/cs42l51.c b/sound/soc/codecs/cs42l51.c
index 00718b5e747b..e378c4d52027 100644
--- a/sound/soc/codecs/cs42l51.c
+++ b/sound/soc/codecs/cs42l51.c
@@ -483,7 +483,7 @@ static int cs42l51_dai_mute(struct snd_soc_dai *dai, int mute)
483 return snd_soc_write(codec, CS42L51_DAC_OUT_CTL, reg); 483 return snd_soc_write(codec, CS42L51_DAC_OUT_CTL, reg);
484} 484}
485 485
486static struct snd_soc_dai_ops cs42l51_dai_ops = { 486static const struct snd_soc_dai_ops cs42l51_dai_ops = {
487 .hw_params = cs42l51_hw_params, 487 .hw_params = cs42l51_hw_params,
488 .set_sysclk = cs42l51_set_dai_sysclk, 488 .set_sysclk = cs42l51_set_dai_sysclk,
489 .set_fmt = cs42l51_set_dai_fmt, 489 .set_fmt = cs42l51_set_dai_fmt,
diff --git a/sound/soc/codecs/cs42l73.c b/sound/soc/codecs/cs42l73.c
index d09578f397da..75d80b2e1ec4 100644
--- a/sound/soc/codecs/cs42l73.c
+++ b/sound/soc/codecs/cs42l73.c
@@ -1190,7 +1190,7 @@ static int cs42l73_pcm_startup(struct snd_pcm_substream *substream,
1190#define CS42L73_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S20_3LE |\ 1190#define CS42L73_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S20_3LE |\
1191 SNDRV_PCM_FMTBIT_S24_LE) 1191 SNDRV_PCM_FMTBIT_S24_LE)
1192 1192
1193static const struct snd_soc_dai_ops cs42l73_ops = { 1193static const const struct snd_soc_dai_ops cs42l73_ops = {
1194 .startup = cs42l73_pcm_startup, 1194 .startup = cs42l73_pcm_startup,
1195 .hw_params = cs42l73_pcm_hw_params, 1195 .hw_params = cs42l73_pcm_hw_params,
1196 .set_fmt = cs42l73_set_dai_fmt, 1196 .set_fmt = cs42l73_set_dai_fmt,
diff --git a/sound/soc/codecs/da7210.c b/sound/soc/codecs/da7210.c
index 8b5848a6374c..8ef820fd68c7 100644
--- a/sound/soc/codecs/da7210.c
+++ b/sound/soc/codecs/da7210.c
@@ -761,7 +761,7 @@ static int da7210_mute(struct snd_soc_dai *dai, int mute)
761 SNDRV_PCM_FMTBIT_S24_LE | SNDRV_PCM_FMTBIT_S32_LE) 761 SNDRV_PCM_FMTBIT_S24_LE | SNDRV_PCM_FMTBIT_S32_LE)
762 762
763/* DAI operations */ 763/* DAI operations */
764static struct snd_soc_dai_ops da7210_dai_ops = { 764static const struct snd_soc_dai_ops da7210_dai_ops = {
765 .hw_params = da7210_hw_params, 765 .hw_params = da7210_hw_params,
766 .set_fmt = da7210_set_dai_fmt, 766 .set_fmt = da7210_set_dai_fmt,
767 .digital_mute = da7210_mute, 767 .digital_mute = da7210_mute,
diff --git a/sound/soc/codecs/jz4740.c b/sound/soc/codecs/jz4740.c
index e373f8f06907..64a479c3429a 100644
--- a/sound/soc/codecs/jz4740.c
+++ b/sound/soc/codecs/jz4740.c
@@ -206,7 +206,7 @@ static int jz4740_codec_hw_params(struct snd_pcm_substream *substream,
206 return 0; 206 return 0;
207} 207}
208 208
209static struct snd_soc_dai_ops jz4740_codec_dai_ops = { 209static const struct snd_soc_dai_ops jz4740_codec_dai_ops = {
210 .hw_params = jz4740_codec_hw_params, 210 .hw_params = jz4740_codec_hw_params,
211}; 211};
212 212
diff --git a/sound/soc/codecs/max98088.c b/sound/soc/codecs/max98088.c
index ebbf63c79c34..48a52a1aaaaa 100644
--- a/sound/soc/codecs/max98088.c
+++ b/sound/soc/codecs/max98088.c
@@ -1650,14 +1650,14 @@ static int max98088_set_bias_level(struct snd_soc_codec *codec,
1650#define MAX98088_RATES SNDRV_PCM_RATE_8000_96000 1650#define MAX98088_RATES SNDRV_PCM_RATE_8000_96000
1651#define MAX98088_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S24_LE) 1651#define MAX98088_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S24_LE)
1652 1652
1653static struct snd_soc_dai_ops max98088_dai1_ops = { 1653static const struct snd_soc_dai_ops max98088_dai1_ops = {
1654 .set_sysclk = max98088_dai_set_sysclk, 1654 .set_sysclk = max98088_dai_set_sysclk,
1655 .set_fmt = max98088_dai1_set_fmt, 1655 .set_fmt = max98088_dai1_set_fmt,
1656 .hw_params = max98088_dai1_hw_params, 1656 .hw_params = max98088_dai1_hw_params,
1657 .digital_mute = max98088_dai1_digital_mute, 1657 .digital_mute = max98088_dai1_digital_mute,
1658}; 1658};
1659 1659
1660static struct snd_soc_dai_ops max98088_dai2_ops = { 1660static const struct snd_soc_dai_ops max98088_dai2_ops = {
1661 .set_sysclk = max98088_dai_set_sysclk, 1661 .set_sysclk = max98088_dai_set_sysclk,
1662 .set_fmt = max98088_dai2_set_fmt, 1662 .set_fmt = max98088_dai2_set_fmt,
1663 .hw_params = max98088_dai2_hw_params, 1663 .hw_params = max98088_dai2_hw_params,
diff --git a/sound/soc/codecs/max98095.c b/sound/soc/codecs/max98095.c
index 26d7b089fb9c..cc712d59ab64 100644
--- a/sound/soc/codecs/max98095.c
+++ b/sound/soc/codecs/max98095.c
@@ -1782,19 +1782,19 @@ static int max98095_set_bias_level(struct snd_soc_codec *codec,
1782#define MAX98095_RATES SNDRV_PCM_RATE_8000_96000 1782#define MAX98095_RATES SNDRV_PCM_RATE_8000_96000
1783#define MAX98095_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S24_LE) 1783#define MAX98095_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S24_LE)
1784 1784
1785static struct snd_soc_dai_ops max98095_dai1_ops = { 1785static const struct snd_soc_dai_ops max98095_dai1_ops = {
1786 .set_sysclk = max98095_dai_set_sysclk, 1786 .set_sysclk = max98095_dai_set_sysclk,
1787 .set_fmt = max98095_dai1_set_fmt, 1787 .set_fmt = max98095_dai1_set_fmt,
1788 .hw_params = max98095_dai1_hw_params, 1788 .hw_params = max98095_dai1_hw_params,
1789}; 1789};
1790 1790
1791static struct snd_soc_dai_ops max98095_dai2_ops = { 1791static const struct snd_soc_dai_ops max98095_dai2_ops = {
1792 .set_sysclk = max98095_dai_set_sysclk, 1792 .set_sysclk = max98095_dai_set_sysclk,
1793 .set_fmt = max98095_dai2_set_fmt, 1793 .set_fmt = max98095_dai2_set_fmt,
1794 .hw_params = max98095_dai2_hw_params, 1794 .hw_params = max98095_dai2_hw_params,
1795}; 1795};
1796 1796
1797static struct snd_soc_dai_ops max98095_dai3_ops = { 1797static const struct snd_soc_dai_ops max98095_dai3_ops = {
1798 .set_sysclk = max98095_dai_set_sysclk, 1798 .set_sysclk = max98095_dai_set_sysclk,
1799 .set_fmt = max98095_dai3_set_fmt, 1799 .set_fmt = max98095_dai3_set_fmt,
1800 .hw_params = max98095_dai3_hw_params, 1800 .hw_params = max98095_dai3_hw_params,
diff --git a/sound/soc/codecs/max9850.c b/sound/soc/codecs/max9850.c
index 208d2ee61855..94c2b586ed5d 100644
--- a/sound/soc/codecs/max9850.c
+++ b/sound/soc/codecs/max9850.c
@@ -254,7 +254,7 @@ static int max9850_set_bias_level(struct snd_soc_codec *codec,
254#define MAX9850_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S20_3LE |\ 254#define MAX9850_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S20_3LE |\
255 SNDRV_PCM_FMTBIT_S24_LE) 255 SNDRV_PCM_FMTBIT_S24_LE)
256 256
257static struct snd_soc_dai_ops max9850_dai_ops = { 257static const struct snd_soc_dai_ops max9850_dai_ops = {
258 .hw_params = max9850_hw_params, 258 .hw_params = max9850_hw_params,
259 .set_sysclk = max9850_set_dai_sysclk, 259 .set_sysclk = max9850_set_dai_sysclk,
260 .set_fmt = max9850_set_dai_fmt, 260 .set_fmt = max9850_set_dai_fmt,
diff --git a/sound/soc/codecs/rt5631.c b/sound/soc/codecs/rt5631.c
index 4646e808b90a..dac4d05f512d 100644
--- a/sound/soc/codecs/rt5631.c
+++ b/sound/soc/codecs/rt5631.c
@@ -1664,7 +1664,7 @@ static int rt5631_resume(struct snd_soc_codec *codec)
1664 SNDRV_PCM_FMTBIT_S24_LE | \ 1664 SNDRV_PCM_FMTBIT_S24_LE | \
1665 SNDRV_PCM_FMTBIT_S8) 1665 SNDRV_PCM_FMTBIT_S8)
1666 1666
1667static struct snd_soc_dai_ops rt5631_ops = { 1667static const struct snd_soc_dai_ops rt5631_ops = {
1668 .hw_params = rt5631_hifi_pcm_params, 1668 .hw_params = rt5631_hifi_pcm_params,
1669 .set_fmt = rt5631_hifi_codec_set_dai_fmt, 1669 .set_fmt = rt5631_hifi_codec_set_dai_fmt,
1670 .set_sysclk = rt5631_hifi_codec_set_dai_sysclk, 1670 .set_sysclk = rt5631_hifi_codec_set_dai_sysclk,
diff --git a/sound/soc/codecs/sgtl5000.c b/sound/soc/codecs/sgtl5000.c
index bbcf921166f7..1a6564b3684e 100644
--- a/sound/soc/codecs/sgtl5000.c
+++ b/sound/soc/codecs/sgtl5000.c
@@ -923,7 +923,7 @@ static int sgtl5000_set_bias_level(struct snd_soc_codec *codec,
923 SNDRV_PCM_FMTBIT_S24_LE |\ 923 SNDRV_PCM_FMTBIT_S24_LE |\
924 SNDRV_PCM_FMTBIT_S32_LE) 924 SNDRV_PCM_FMTBIT_S32_LE)
925 925
926static struct snd_soc_dai_ops sgtl5000_ops = { 926static const struct snd_soc_dai_ops sgtl5000_ops = {
927 .hw_params = sgtl5000_pcm_hw_params, 927 .hw_params = sgtl5000_pcm_hw_params,
928 .digital_mute = sgtl5000_digital_mute, 928 .digital_mute = sgtl5000_digital_mute,
929 .set_fmt = sgtl5000_set_dai_fmt, 929 .set_fmt = sgtl5000_set_dai_fmt,
diff --git a/sound/soc/codecs/sn95031.c b/sound/soc/codecs/sn95031.c
index 887d618f4a63..65f2ef986c4f 100644
--- a/sound/soc/codecs/sn95031.c
+++ b/sound/soc/codecs/sn95031.c
@@ -698,21 +698,21 @@ static int sn95031_pcm_hw_params(struct snd_pcm_substream *substream,
698} 698}
699 699
700/* Codec DAI section */ 700/* Codec DAI section */
701static struct snd_soc_dai_ops sn95031_headset_dai_ops = { 701static const struct snd_soc_dai_ops sn95031_headset_dai_ops = {
702 .digital_mute = sn95031_pcm_hs_mute, 702 .digital_mute = sn95031_pcm_hs_mute,
703 .hw_params = sn95031_pcm_hw_params, 703 .hw_params = sn95031_pcm_hw_params,
704}; 704};
705 705
706static struct snd_soc_dai_ops sn95031_speaker_dai_ops = { 706static const struct snd_soc_dai_ops sn95031_speaker_dai_ops = {
707 .digital_mute = sn95031_pcm_spkr_mute, 707 .digital_mute = sn95031_pcm_spkr_mute,
708 .hw_params = sn95031_pcm_hw_params, 708 .hw_params = sn95031_pcm_hw_params,
709}; 709};
710 710
711static struct snd_soc_dai_ops sn95031_vib1_dai_ops = { 711static const struct snd_soc_dai_ops sn95031_vib1_dai_ops = {
712 .hw_params = sn95031_pcm_hw_params, 712 .hw_params = sn95031_pcm_hw_params,
713}; 713};
714 714
715static struct snd_soc_dai_ops sn95031_vib2_dai_ops = { 715static const struct snd_soc_dai_ops sn95031_vib2_dai_ops = {
716 .hw_params = sn95031_pcm_hw_params, 716 .hw_params = sn95031_pcm_hw_params,
717}; 717};
718 718
diff --git a/sound/soc/codecs/ssm2602.c b/sound/soc/codecs/ssm2602.c
index 3cb3271c5fe2..620411c384e5 100644
--- a/sound/soc/codecs/ssm2602.c
+++ b/sound/soc/codecs/ssm2602.c
@@ -498,7 +498,7 @@ static int ssm2602_set_bias_level(struct snd_soc_codec *codec,
498#define SSM2602_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S20_3LE |\ 498#define SSM2602_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S20_3LE |\
499 SNDRV_PCM_FMTBIT_S24_LE | SNDRV_PCM_FMTBIT_S32_LE) 499 SNDRV_PCM_FMTBIT_S24_LE | SNDRV_PCM_FMTBIT_S32_LE)
500 500
501static struct snd_soc_dai_ops ssm2602_dai_ops = { 501static const struct snd_soc_dai_ops ssm2602_dai_ops = {
502 .startup = ssm2602_startup, 502 .startup = ssm2602_startup,
503 .hw_params = ssm2602_hw_params, 503 .hw_params = ssm2602_hw_params,
504 .shutdown = ssm2602_shutdown, 504 .shutdown = ssm2602_shutdown,
diff --git a/sound/soc/codecs/sta32x.c b/sound/soc/codecs/sta32x.c
index 3b0deafd766b..e2b1cdedb982 100644
--- a/sound/soc/codecs/sta32x.c
+++ b/sound/soc/codecs/sta32x.c
@@ -783,7 +783,7 @@ static int sta32x_set_bias_level(struct snd_soc_codec *codec,
783 return 0; 783 return 0;
784} 784}
785 785
786static struct snd_soc_dai_ops sta32x_dai_ops = { 786static const struct snd_soc_dai_ops sta32x_dai_ops = {
787 .hw_params = sta32x_hw_params, 787 .hw_params = sta32x_hw_params,
788 .set_sysclk = sta32x_set_dai_sysclk, 788 .set_sysclk = sta32x_set_dai_sysclk,
789 .set_fmt = sta32x_set_dai_fmt, 789 .set_fmt = sta32x_set_dai_fmt,
diff --git a/sound/soc/codecs/stac9766.c b/sound/soc/codecs/stac9766.c
index 78b2b50271e2..e4783a4f71fd 100644
--- a/sound/soc/codecs/stac9766.c
+++ b/sound/soc/codecs/stac9766.c
@@ -286,11 +286,11 @@ reset:
286 return 0; 286 return 0;
287} 287}
288 288
289static struct snd_soc_dai_ops stac9766_dai_ops_analog = { 289static const struct snd_soc_dai_ops stac9766_dai_ops_analog = {
290 .prepare = ac97_analog_prepare, 290 .prepare = ac97_analog_prepare,
291}; 291};
292 292
293static struct snd_soc_dai_ops stac9766_dai_ops_digital = { 293static const struct snd_soc_dai_ops stac9766_dai_ops_digital = {
294 .prepare = ac97_digital_prepare, 294 .prepare = ac97_digital_prepare,
295}; 295};
296 296
diff --git a/sound/soc/codecs/tlv320aic23.c b/sound/soc/codecs/tlv320aic23.c
index 336de8f69a02..9782631df93b 100644
--- a/sound/soc/codecs/tlv320aic23.c
+++ b/sound/soc/codecs/tlv320aic23.c
@@ -503,7 +503,7 @@ static int tlv320aic23_set_bias_level(struct snd_soc_codec *codec,
503#define AIC23_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S20_3LE | \ 503#define AIC23_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S20_3LE | \
504 SNDRV_PCM_FMTBIT_S24_3LE | SNDRV_PCM_FMTBIT_S32_LE) 504 SNDRV_PCM_FMTBIT_S24_3LE | SNDRV_PCM_FMTBIT_S32_LE)
505 505
506static struct snd_soc_dai_ops tlv320aic23_dai_ops = { 506static const struct snd_soc_dai_ops tlv320aic23_dai_ops = {
507 .prepare = tlv320aic23_pcm_prepare, 507 .prepare = tlv320aic23_pcm_prepare,
508 .hw_params = tlv320aic23_hw_params, 508 .hw_params = tlv320aic23_hw_params,
509 .shutdown = tlv320aic23_shutdown, 509 .shutdown = tlv320aic23_shutdown,
diff --git a/sound/soc/codecs/tlv320aic26.c b/sound/soc/codecs/tlv320aic26.c
index 7859bdcc93db..86d1fa38ed2e 100644
--- a/sound/soc/codecs/tlv320aic26.c
+++ b/sound/soc/codecs/tlv320aic26.c
@@ -275,7 +275,7 @@ static int aic26_set_fmt(struct snd_soc_dai *codec_dai, unsigned int fmt)
275#define AIC26_FORMATS (SNDRV_PCM_FMTBIT_S8 | SNDRV_PCM_FMTBIT_S16_BE |\ 275#define AIC26_FORMATS (SNDRV_PCM_FMTBIT_S8 | SNDRV_PCM_FMTBIT_S16_BE |\
276 SNDRV_PCM_FMTBIT_S24_BE | SNDRV_PCM_FMTBIT_S32_BE) 276 SNDRV_PCM_FMTBIT_S24_BE | SNDRV_PCM_FMTBIT_S32_BE)
277 277
278static struct snd_soc_dai_ops aic26_dai_ops = { 278static const struct snd_soc_dai_ops aic26_dai_ops = {
279 .hw_params = aic26_hw_params, 279 .hw_params = aic26_hw_params,
280 .digital_mute = aic26_mute, 280 .digital_mute = aic26_mute,
281 .set_sysclk = aic26_set_sysclk, 281 .set_sysclk = aic26_set_sysclk,
diff --git a/sound/soc/codecs/tlv320aic32x4.c b/sound/soc/codecs/tlv320aic32x4.c
index b21c610051c0..d2e38af46aa1 100644
--- a/sound/soc/codecs/tlv320aic32x4.c
+++ b/sound/soc/codecs/tlv320aic32x4.c
@@ -597,7 +597,7 @@ static int aic32x4_set_bias_level(struct snd_soc_codec *codec,
597#define AIC32X4_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S20_3LE \ 597#define AIC32X4_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S20_3LE \
598 | SNDRV_PCM_FMTBIT_S24_3LE | SNDRV_PCM_FMTBIT_S32_LE) 598 | SNDRV_PCM_FMTBIT_S24_3LE | SNDRV_PCM_FMTBIT_S32_LE)
599 599
600static struct snd_soc_dai_ops aic32x4_ops = { 600static const struct snd_soc_dai_ops aic32x4_ops = {
601 .hw_params = aic32x4_hw_params, 601 .hw_params = aic32x4_hw_params,
602 .digital_mute = aic32x4_mute, 602 .digital_mute = aic32x4_mute,
603 .set_fmt = aic32x4_set_dai_fmt, 603 .set_fmt = aic32x4_set_dai_fmt,
diff --git a/sound/soc/codecs/tlv320aic3x.c b/sound/soc/codecs/tlv320aic3x.c
index 2e2bf18253c8..7d665ea3ac62 100644
--- a/sound/soc/codecs/tlv320aic3x.c
+++ b/sound/soc/codecs/tlv320aic3x.c
@@ -1244,7 +1244,7 @@ EXPORT_SYMBOL_GPL(aic3x_button_pressed);
1244#define AIC3X_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S20_3LE | \ 1244#define AIC3X_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S20_3LE | \
1245 SNDRV_PCM_FMTBIT_S24_3LE | SNDRV_PCM_FMTBIT_S32_LE) 1245 SNDRV_PCM_FMTBIT_S24_3LE | SNDRV_PCM_FMTBIT_S32_LE)
1246 1246
1247static struct snd_soc_dai_ops aic3x_dai_ops = { 1247static const struct snd_soc_dai_ops aic3x_dai_ops = {
1248 .hw_params = aic3x_hw_params, 1248 .hw_params = aic3x_hw_params,
1249 .digital_mute = aic3x_mute, 1249 .digital_mute = aic3x_mute,
1250 .set_sysclk = aic3x_set_dai_sysclk, 1250 .set_sysclk = aic3x_set_dai_sysclk,
diff --git a/sound/soc/codecs/tlv320dac33.c b/sound/soc/codecs/tlv320dac33.c
index dc8a2b2bdc1c..abcb97e03405 100644
--- a/sound/soc/codecs/tlv320dac33.c
+++ b/sound/soc/codecs/tlv320dac33.c
@@ -1499,7 +1499,7 @@ static struct snd_soc_codec_driver soc_codec_dev_tlv320dac33 = {
1499 SNDRV_PCM_RATE_48000) 1499 SNDRV_PCM_RATE_48000)
1500#define DAC33_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S32_LE) 1500#define DAC33_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S32_LE)
1501 1501
1502static struct snd_soc_dai_ops dac33_dai_ops = { 1502static const struct snd_soc_dai_ops dac33_dai_ops = {
1503 .startup = dac33_startup, 1503 .startup = dac33_startup,
1504 .shutdown = dac33_shutdown, 1504 .shutdown = dac33_shutdown,
1505 .hw_params = dac33_hw_params, 1505 .hw_params = dac33_hw_params,
diff --git a/sound/soc/codecs/twl4030.c b/sound/soc/codecs/twl4030.c
index f798247ac1b2..2a3a52838e9c 100644
--- a/sound/soc/codecs/twl4030.c
+++ b/sound/soc/codecs/twl4030.c
@@ -2149,7 +2149,7 @@ static int twl4030_voice_set_tristate(struct snd_soc_dai *dai, int tristate)
2149#define TWL4030_RATES (SNDRV_PCM_RATE_8000_48000) 2149#define TWL4030_RATES (SNDRV_PCM_RATE_8000_48000)
2150#define TWL4030_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S32_LE) 2150#define TWL4030_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S32_LE)
2151 2151
2152static struct snd_soc_dai_ops twl4030_dai_hifi_ops = { 2152static const struct snd_soc_dai_ops twl4030_dai_hifi_ops = {
2153 .startup = twl4030_startup, 2153 .startup = twl4030_startup,
2154 .shutdown = twl4030_shutdown, 2154 .shutdown = twl4030_shutdown,
2155 .hw_params = twl4030_hw_params, 2155 .hw_params = twl4030_hw_params,
@@ -2158,7 +2158,7 @@ static struct snd_soc_dai_ops twl4030_dai_hifi_ops = {
2158 .set_tristate = twl4030_set_tristate, 2158 .set_tristate = twl4030_set_tristate,
2159}; 2159};
2160 2160
2161static struct snd_soc_dai_ops twl4030_dai_voice_ops = { 2161static const struct snd_soc_dai_ops twl4030_dai_voice_ops = {
2162 .startup = twl4030_voice_startup, 2162 .startup = twl4030_voice_startup,
2163 .shutdown = twl4030_voice_shutdown, 2163 .shutdown = twl4030_voice_shutdown,
2164 .hw_params = twl4030_voice_hw_params, 2164 .hw_params = twl4030_voice_hw_params,
diff --git a/sound/soc/codecs/twl6040.c b/sound/soc/codecs/twl6040.c
index 73e11f022ded..17930edd3a2c 100644
--- a/sound/soc/codecs/twl6040.c
+++ b/sound/soc/codecs/twl6040.c
@@ -1397,7 +1397,7 @@ static int twl6040_set_dai_sysclk(struct snd_soc_dai *codec_dai,
1397 return 0; 1397 return 0;
1398} 1398}
1399 1399
1400static struct snd_soc_dai_ops twl6040_dai_ops = { 1400static const struct snd_soc_dai_ops twl6040_dai_ops = {
1401 .startup = twl6040_startup, 1401 .startup = twl6040_startup,
1402 .hw_params = twl6040_hw_params, 1402 .hw_params = twl6040_hw_params,
1403 .prepare = twl6040_prepare, 1403 .prepare = twl6040_prepare,
diff --git a/sound/soc/codecs/uda134x.c b/sound/soc/codecs/uda134x.c
index a7b8f301bad3..486aef637eed 100644
--- a/sound/soc/codecs/uda134x.c
+++ b/sound/soc/codecs/uda134x.c
@@ -452,7 +452,7 @@ SOC_ENUM("PCM Playback De-emphasis", uda134x_mixer_enum[1]),
452SOC_SINGLE("DC Filter Enable Switch", UDA134X_STATUS0, 0, 1, 0), 452SOC_SINGLE("DC Filter Enable Switch", UDA134X_STATUS0, 0, 1, 0),
453}; 453};
454 454
455static struct snd_soc_dai_ops uda134x_dai_ops = { 455static const struct snd_soc_dai_ops uda134x_dai_ops = {
456 .startup = uda134x_startup, 456 .startup = uda134x_startup,
457 .shutdown = uda134x_shutdown, 457 .shutdown = uda134x_shutdown,
458 .hw_params = uda134x_hw_params, 458 .hw_params = uda134x_hw_params,
diff --git a/sound/soc/codecs/uda1380.c b/sound/soc/codecs/uda1380.c
index c5ca8cfea60f..6b933efc7ed3 100644
--- a/sound/soc/codecs/uda1380.c
+++ b/sound/soc/codecs/uda1380.c
@@ -643,21 +643,21 @@ static int uda1380_set_bias_level(struct snd_soc_codec *codec,
643 SNDRV_PCM_RATE_16000 | SNDRV_PCM_RATE_22050 |\ 643 SNDRV_PCM_RATE_16000 | SNDRV_PCM_RATE_22050 |\
644 SNDRV_PCM_RATE_44100 | SNDRV_PCM_RATE_48000) 644 SNDRV_PCM_RATE_44100 | SNDRV_PCM_RATE_48000)
645 645
646static struct snd_soc_dai_ops uda1380_dai_ops = { 646static const struct snd_soc_dai_ops uda1380_dai_ops = {
647 .hw_params = uda1380_pcm_hw_params, 647 .hw_params = uda1380_pcm_hw_params,
648 .shutdown = uda1380_pcm_shutdown, 648 .shutdown = uda1380_pcm_shutdown,
649 .trigger = uda1380_trigger, 649 .trigger = uda1380_trigger,
650 .set_fmt = uda1380_set_dai_fmt_both, 650 .set_fmt = uda1380_set_dai_fmt_both,
651}; 651};
652 652
653static struct snd_soc_dai_ops uda1380_dai_ops_playback = { 653static const struct snd_soc_dai_ops uda1380_dai_ops_playback = {
654 .hw_params = uda1380_pcm_hw_params, 654 .hw_params = uda1380_pcm_hw_params,
655 .shutdown = uda1380_pcm_shutdown, 655 .shutdown = uda1380_pcm_shutdown,
656 .trigger = uda1380_trigger, 656 .trigger = uda1380_trigger,
657 .set_fmt = uda1380_set_dai_fmt_playback, 657 .set_fmt = uda1380_set_dai_fmt_playback,
658}; 658};
659 659
660static struct snd_soc_dai_ops uda1380_dai_ops_capture = { 660static const struct snd_soc_dai_ops uda1380_dai_ops_capture = {
661 .hw_params = uda1380_pcm_hw_params, 661 .hw_params = uda1380_pcm_hw_params,
662 .shutdown = uda1380_pcm_shutdown, 662 .shutdown = uda1380_pcm_shutdown,
663 .trigger = uda1380_trigger, 663 .trigger = uda1380_trigger,
diff --git a/sound/soc/codecs/wl1273.c b/sound/soc/codecs/wl1273.c
index a85498982991..9531c35dccad 100644
--- a/sound/soc/codecs/wl1273.c
+++ b/sound/soc/codecs/wl1273.c
@@ -386,7 +386,7 @@ static int wl1273_hw_params(struct snd_pcm_substream *substream,
386 return 0; 386 return 0;
387} 387}
388 388
389static struct snd_soc_dai_ops wl1273_dai_ops = { 389static const struct snd_soc_dai_ops wl1273_dai_ops = {
390 .startup = wl1273_startup, 390 .startup = wl1273_startup,
391 .hw_params = wl1273_hw_params, 391 .hw_params = wl1273_hw_params,
392}; 392};
diff --git a/sound/soc/codecs/wm5100.c b/sound/soc/codecs/wm5100.c
index f37d67f4058b..6c79d97ba181 100644
--- a/sound/soc/codecs/wm5100.c
+++ b/sound/soc/codecs/wm5100.c
@@ -1661,7 +1661,7 @@ static int wm5100_hw_params(struct snd_pcm_substream *substream,
1661 return 0; 1661 return 0;
1662} 1662}
1663 1663
1664static struct snd_soc_dai_ops wm5100_dai_ops = { 1664static const struct snd_soc_dai_ops wm5100_dai_ops = {
1665 .set_fmt = wm5100_set_fmt, 1665 .set_fmt = wm5100_set_fmt,
1666 .hw_params = wm5100_hw_params, 1666 .hw_params = wm5100_hw_params,
1667}; 1667};
diff --git a/sound/soc/codecs/wm8350.c b/sound/soc/codecs/wm8350.c
index 35f3ad83dfb6..3b846c95f07f 100644
--- a/sound/soc/codecs/wm8350.c
+++ b/sound/soc/codecs/wm8350.c
@@ -1511,7 +1511,7 @@ EXPORT_SYMBOL_GPL(wm8350_mic_jack_detect);
1511 SNDRV_PCM_FMTBIT_S20_3LE |\ 1511 SNDRV_PCM_FMTBIT_S20_3LE |\
1512 SNDRV_PCM_FMTBIT_S24_LE) 1512 SNDRV_PCM_FMTBIT_S24_LE)
1513 1513
1514static struct snd_soc_dai_ops wm8350_dai_ops = { 1514static const struct snd_soc_dai_ops wm8350_dai_ops = {
1515 .hw_params = wm8350_pcm_hw_params, 1515 .hw_params = wm8350_pcm_hw_params,
1516 .digital_mute = wm8350_mute, 1516 .digital_mute = wm8350_mute,
1517 .trigger = wm8350_pcm_trigger, 1517 .trigger = wm8350_pcm_trigger,
diff --git a/sound/soc/codecs/wm8400.c b/sound/soc/codecs/wm8400.c
index 585def1ffca6..07d84a86e14e 100644
--- a/sound/soc/codecs/wm8400.c
+++ b/sound/soc/codecs/wm8400.c
@@ -1316,7 +1316,7 @@ static int wm8400_set_bias_level(struct snd_soc_codec *codec,
1316#define WM8400_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S20_3LE |\ 1316#define WM8400_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S20_3LE |\
1317 SNDRV_PCM_FMTBIT_S24_LE) 1317 SNDRV_PCM_FMTBIT_S24_LE)
1318 1318
1319static struct snd_soc_dai_ops wm8400_dai_ops = { 1319static const struct snd_soc_dai_ops wm8400_dai_ops = {
1320 .hw_params = wm8400_hw_params, 1320 .hw_params = wm8400_hw_params,
1321 .digital_mute = wm8400_mute, 1321 .digital_mute = wm8400_mute,
1322 .set_fmt = wm8400_set_dai_fmt, 1322 .set_fmt = wm8400_set_dai_fmt,
diff --git a/sound/soc/codecs/wm8510.c b/sound/soc/codecs/wm8510.c
index 07c9cc759e97..26571b25e440 100644
--- a/sound/soc/codecs/wm8510.c
+++ b/sound/soc/codecs/wm8510.c
@@ -509,7 +509,7 @@ static int wm8510_set_bias_level(struct snd_soc_codec *codec,
509#define WM8510_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S20_3LE |\ 509#define WM8510_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S20_3LE |\
510 SNDRV_PCM_FMTBIT_S24_LE | SNDRV_PCM_FMTBIT_S32_LE) 510 SNDRV_PCM_FMTBIT_S24_LE | SNDRV_PCM_FMTBIT_S32_LE)
511 511
512static struct snd_soc_dai_ops wm8510_dai_ops = { 512static const struct snd_soc_dai_ops wm8510_dai_ops = {
513 .hw_params = wm8510_pcm_hw_params, 513 .hw_params = wm8510_pcm_hw_params,
514 .digital_mute = wm8510_mute, 514 .digital_mute = wm8510_mute,
515 .set_fmt = wm8510_set_dai_fmt, 515 .set_fmt = wm8510_set_dai_fmt,
diff --git a/sound/soc/codecs/wm8523.c b/sound/soc/codecs/wm8523.c
index db7a6819499f..d0ae82d2b24f 100644
--- a/sound/soc/codecs/wm8523.c
+++ b/sound/soc/codecs/wm8523.c
@@ -365,7 +365,7 @@ static int wm8523_set_bias_level(struct snd_soc_codec *codec,
365#define WM8523_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S20_3LE |\ 365#define WM8523_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S20_3LE |\
366 SNDRV_PCM_FMTBIT_S24_LE | SNDRV_PCM_FMTBIT_S32_LE) 366 SNDRV_PCM_FMTBIT_S24_LE | SNDRV_PCM_FMTBIT_S32_LE)
367 367
368static struct snd_soc_dai_ops wm8523_dai_ops = { 368static const struct snd_soc_dai_ops wm8523_dai_ops = {
369 .startup = wm8523_startup, 369 .startup = wm8523_startup,
370 .hw_params = wm8523_hw_params, 370 .hw_params = wm8523_hw_params,
371 .set_sysclk = wm8523_set_dai_sysclk, 371 .set_sysclk = wm8523_set_dai_sysclk,
diff --git a/sound/soc/codecs/wm8580.c b/sound/soc/codecs/wm8580.c
index 8212b3c8bfdd..0aa3e4d138f4 100644
--- a/sound/soc/codecs/wm8580.c
+++ b/sound/soc/codecs/wm8580.c
@@ -776,7 +776,7 @@ static int wm8580_set_bias_level(struct snd_soc_codec *codec,
776#define WM8580_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S20_3LE |\ 776#define WM8580_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S20_3LE |\
777 SNDRV_PCM_FMTBIT_S24_LE | SNDRV_PCM_FMTBIT_S32_LE) 777 SNDRV_PCM_FMTBIT_S24_LE | SNDRV_PCM_FMTBIT_S32_LE)
778 778
779static struct snd_soc_dai_ops wm8580_dai_ops_playback = { 779static const struct snd_soc_dai_ops wm8580_dai_ops_playback = {
780 .set_sysclk = wm8580_set_sysclk, 780 .set_sysclk = wm8580_set_sysclk,
781 .hw_params = wm8580_paif_hw_params, 781 .hw_params = wm8580_paif_hw_params,
782 .set_fmt = wm8580_set_paif_dai_fmt, 782 .set_fmt = wm8580_set_paif_dai_fmt,
@@ -785,7 +785,7 @@ static struct snd_soc_dai_ops wm8580_dai_ops_playback = {
785 .digital_mute = wm8580_digital_mute, 785 .digital_mute = wm8580_digital_mute,
786}; 786};
787 787
788static struct snd_soc_dai_ops wm8580_dai_ops_capture = { 788static const struct snd_soc_dai_ops wm8580_dai_ops_capture = {
789 .set_sysclk = wm8580_set_sysclk, 789 .set_sysclk = wm8580_set_sysclk,
790 .hw_params = wm8580_paif_hw_params, 790 .hw_params = wm8580_paif_hw_params,
791 .set_fmt = wm8580_set_paif_dai_fmt, 791 .set_fmt = wm8580_set_paif_dai_fmt,
diff --git a/sound/soc/codecs/wm8711.c b/sound/soc/codecs/wm8711.c
index 076bdb9930a1..a6f1e391314d 100644
--- a/sound/soc/codecs/wm8711.c
+++ b/sound/soc/codecs/wm8711.c
@@ -318,7 +318,7 @@ static int wm8711_set_bias_level(struct snd_soc_codec *codec,
318#define WM8711_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S20_3LE |\ 318#define WM8711_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S20_3LE |\
319 SNDRV_PCM_FMTBIT_S24_LE) 319 SNDRV_PCM_FMTBIT_S24_LE)
320 320
321static struct snd_soc_dai_ops wm8711_ops = { 321static const struct snd_soc_dai_ops wm8711_ops = {
322 .prepare = wm8711_pcm_prepare, 322 .prepare = wm8711_pcm_prepare,
323 .hw_params = wm8711_hw_params, 323 .hw_params = wm8711_hw_params,
324 .shutdown = wm8711_shutdown, 324 .shutdown = wm8711_shutdown,
diff --git a/sound/soc/codecs/wm8728.c b/sound/soc/codecs/wm8728.c
index 04b027efd5c0..085c2f81d8c2 100644
--- a/sound/soc/codecs/wm8728.c
+++ b/sound/soc/codecs/wm8728.c
@@ -196,7 +196,7 @@ static int wm8728_set_bias_level(struct snd_soc_codec *codec,
196#define WM8728_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S20_3LE |\ 196#define WM8728_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S20_3LE |\
197 SNDRV_PCM_FMTBIT_S24_LE) 197 SNDRV_PCM_FMTBIT_S24_LE)
198 198
199static struct snd_soc_dai_ops wm8728_dai_ops = { 199static const struct snd_soc_dai_ops wm8728_dai_ops = {
200 .hw_params = wm8728_hw_params, 200 .hw_params = wm8728_hw_params,
201 .digital_mute = wm8728_mute, 201 .digital_mute = wm8728_mute,
202 .set_fmt = wm8728_set_dai_fmt, 202 .set_fmt = wm8728_set_dai_fmt,
diff --git a/sound/soc/codecs/wm8731.c b/sound/soc/codecs/wm8731.c
index ca59622e41d2..28972d875f7c 100644
--- a/sound/soc/codecs/wm8731.c
+++ b/sound/soc/codecs/wm8731.c
@@ -465,7 +465,7 @@ static int wm8731_set_bias_level(struct snd_soc_codec *codec,
465#define WM8731_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S20_3LE |\ 465#define WM8731_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S20_3LE |\
466 SNDRV_PCM_FMTBIT_S24_LE) 466 SNDRV_PCM_FMTBIT_S24_LE)
467 467
468static struct snd_soc_dai_ops wm8731_dai_ops = { 468static const struct snd_soc_dai_ops wm8731_dai_ops = {
469 .hw_params = wm8731_hw_params, 469 .hw_params = wm8731_hw_params,
470 .digital_mute = wm8731_mute, 470 .digital_mute = wm8731_mute,
471 .set_sysclk = wm8731_set_dai_sysclk, 471 .set_sysclk = wm8731_set_dai_sysclk,
diff --git a/sound/soc/codecs/wm8737.c b/sound/soc/codecs/wm8737.c
index f6aef58845c2..b7d661581ebf 100644
--- a/sound/soc/codecs/wm8737.c
+++ b/sound/soc/codecs/wm8737.c
@@ -521,7 +521,7 @@ static int wm8737_set_bias_level(struct snd_soc_codec *codec,
521#define WM8737_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S20_3LE |\ 521#define WM8737_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S20_3LE |\
522 SNDRV_PCM_FMTBIT_S24_LE | SNDRV_PCM_FMTBIT_S32_LE) 522 SNDRV_PCM_FMTBIT_S24_LE | SNDRV_PCM_FMTBIT_S32_LE)
523 523
524static struct snd_soc_dai_ops wm8737_dai_ops = { 524static const struct snd_soc_dai_ops wm8737_dai_ops = {
525 .hw_params = wm8737_hw_params, 525 .hw_params = wm8737_hw_params,
526 .set_sysclk = wm8737_set_dai_sysclk, 526 .set_sysclk = wm8737_set_dai_sysclk,
527 .set_fmt = wm8737_set_dai_fmt, 527 .set_fmt = wm8737_set_dai_fmt,
diff --git a/sound/soc/codecs/wm8741.c b/sound/soc/codecs/wm8741.c
index 57ad22aacc51..e51f4f0a93f4 100644
--- a/sound/soc/codecs/wm8741.c
+++ b/sound/soc/codecs/wm8741.c
@@ -382,7 +382,7 @@ static int wm8741_set_dai_fmt(struct snd_soc_dai *codec_dai,
382#define WM8741_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S20_3LE |\ 382#define WM8741_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S20_3LE |\
383 SNDRV_PCM_FMTBIT_S24_LE | SNDRV_PCM_FMTBIT_S32_LE) 383 SNDRV_PCM_FMTBIT_S24_LE | SNDRV_PCM_FMTBIT_S32_LE)
384 384
385static struct snd_soc_dai_ops wm8741_dai_ops = { 385static const struct snd_soc_dai_ops wm8741_dai_ops = {
386 .startup = wm8741_startup, 386 .startup = wm8741_startup,
387 .hw_params = wm8741_hw_params, 387 .hw_params = wm8741_hw_params,
388 .set_sysclk = wm8741_set_dai_sysclk, 388 .set_sysclk = wm8741_set_dai_sysclk,
diff --git a/sound/soc/codecs/wm8750.c b/sound/soc/codecs/wm8750.c
index ca75a8180708..dfb41ad902e1 100644
--- a/sound/soc/codecs/wm8750.c
+++ b/sound/soc/codecs/wm8750.c
@@ -643,7 +643,7 @@ static int wm8750_set_bias_level(struct snd_soc_codec *codec,
643#define WM8750_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S20_3LE |\ 643#define WM8750_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S20_3LE |\
644 SNDRV_PCM_FMTBIT_S24_LE) 644 SNDRV_PCM_FMTBIT_S24_LE)
645 645
646static struct snd_soc_dai_ops wm8750_dai_ops = { 646static const struct snd_soc_dai_ops wm8750_dai_ops = {
647 .hw_params = wm8750_pcm_hw_params, 647 .hw_params = wm8750_pcm_hw_params,
648 .digital_mute = wm8750_mute, 648 .digital_mute = wm8750_mute,
649 .set_fmt = wm8750_set_dai_fmt, 649 .set_fmt = wm8750_set_dai_fmt,
diff --git a/sound/soc/codecs/wm8753.c b/sound/soc/codecs/wm8753.c
index 13156c836c9a..fb013b152fa6 100644
--- a/sound/soc/codecs/wm8753.c
+++ b/sound/soc/codecs/wm8753.c
@@ -1315,7 +1315,7 @@ static int wm8753_set_bias_level(struct snd_soc_codec *codec,
1315 * 3. Voice disabled - HIFI over HIFI 1315 * 3. Voice disabled - HIFI over HIFI
1316 * 4. Voice disabled - HIFI over HIFI, uses voice DAI LRC for capture 1316 * 4. Voice disabled - HIFI over HIFI, uses voice DAI LRC for capture
1317 */ 1317 */
1318static struct snd_soc_dai_ops wm8753_dai_ops_hifi_mode = { 1318static const struct snd_soc_dai_ops wm8753_dai_ops_hifi_mode = {
1319 .hw_params = wm8753_i2s_hw_params, 1319 .hw_params = wm8753_i2s_hw_params,
1320 .digital_mute = wm8753_mute, 1320 .digital_mute = wm8753_mute,
1321 .set_fmt = wm8753_hifi_set_dai_fmt, 1321 .set_fmt = wm8753_hifi_set_dai_fmt,
@@ -1324,7 +1324,7 @@ static struct snd_soc_dai_ops wm8753_dai_ops_hifi_mode = {
1324 .set_sysclk = wm8753_set_dai_sysclk, 1324 .set_sysclk = wm8753_set_dai_sysclk,
1325}; 1325};
1326 1326
1327static struct snd_soc_dai_ops wm8753_dai_ops_voice_mode = { 1327static const struct snd_soc_dai_ops wm8753_dai_ops_voice_mode = {
1328 .hw_params = wm8753_pcm_hw_params, 1328 .hw_params = wm8753_pcm_hw_params,
1329 .digital_mute = wm8753_mute, 1329 .digital_mute = wm8753_mute,
1330 .set_fmt = wm8753_voice_set_dai_fmt, 1330 .set_fmt = wm8753_voice_set_dai_fmt,
diff --git a/sound/soc/codecs/wm8770.c b/sound/soc/codecs/wm8770.c
index aa05e6507f84..87957e862b9c 100644
--- a/sound/soc/codecs/wm8770.c
+++ b/sound/soc/codecs/wm8770.c
@@ -528,7 +528,7 @@ static int wm8770_set_bias_level(struct snd_soc_codec *codec,
528#define WM8770_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S20_3LE | \ 528#define WM8770_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S20_3LE | \
529 SNDRV_PCM_FMTBIT_S24_LE | SNDRV_PCM_FMTBIT_S32_LE) 529 SNDRV_PCM_FMTBIT_S24_LE | SNDRV_PCM_FMTBIT_S32_LE)
530 530
531static struct snd_soc_dai_ops wm8770_dai_ops = { 531static const struct snd_soc_dai_ops wm8770_dai_ops = {
532 .digital_mute = wm8770_mute, 532 .digital_mute = wm8770_mute,
533 .hw_params = wm8770_hw_params, 533 .hw_params = wm8770_hw_params,
534 .set_fmt = wm8770_set_fmt, 534 .set_fmt = wm8770_set_fmt,
diff --git a/sound/soc/codecs/wm8776.c b/sound/soc/codecs/wm8776.c
index f967c59dbbef..223fc5a5c1b0 100644
--- a/sound/soc/codecs/wm8776.c
+++ b/sound/soc/codecs/wm8776.c
@@ -327,14 +327,14 @@ static int wm8776_set_bias_level(struct snd_soc_codec *codec,
327#define WM8776_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S20_3LE |\ 327#define WM8776_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S20_3LE |\
328 SNDRV_PCM_FMTBIT_S24_LE | SNDRV_PCM_FMTBIT_S32_LE) 328 SNDRV_PCM_FMTBIT_S24_LE | SNDRV_PCM_FMTBIT_S32_LE)
329 329
330static struct snd_soc_dai_ops wm8776_dac_ops = { 330static const struct snd_soc_dai_ops wm8776_dac_ops = {
331 .digital_mute = wm8776_mute, 331 .digital_mute = wm8776_mute,
332 .hw_params = wm8776_hw_params, 332 .hw_params = wm8776_hw_params,
333 .set_fmt = wm8776_set_fmt, 333 .set_fmt = wm8776_set_fmt,
334 .set_sysclk = wm8776_set_sysclk, 334 .set_sysclk = wm8776_set_sysclk,
335}; 335};
336 336
337static struct snd_soc_dai_ops wm8776_adc_ops = { 337static const struct snd_soc_dai_ops wm8776_adc_ops = {
338 .hw_params = wm8776_hw_params, 338 .hw_params = wm8776_hw_params,
339 .set_fmt = wm8776_set_fmt, 339 .set_fmt = wm8776_set_fmt,
340 .set_sysclk = wm8776_set_sysclk, 340 .set_sysclk = wm8776_set_sysclk,
diff --git a/sound/soc/codecs/wm8804.c b/sound/soc/codecs/wm8804.c
index 9ee072b85975..d99c6a0a0a2d 100644
--- a/sound/soc/codecs/wm8804.c
+++ b/sound/soc/codecs/wm8804.c
@@ -670,7 +670,7 @@ err_reg_get:
670 return ret; 670 return ret;
671} 671}
672 672
673static struct snd_soc_dai_ops wm8804_dai_ops = { 673static const struct snd_soc_dai_ops wm8804_dai_ops = {
674 .hw_params = wm8804_hw_params, 674 .hw_params = wm8804_hw_params,
675 .set_fmt = wm8804_set_fmt, 675 .set_fmt = wm8804_set_fmt,
676 .set_sysclk = wm8804_set_sysclk, 676 .set_sysclk = wm8804_set_sysclk,
diff --git a/sound/soc/codecs/wm8900.c b/sound/soc/codecs/wm8900.c
index 17a12c2df8da..a430930cc09f 100644
--- a/sound/soc/codecs/wm8900.c
+++ b/sound/soc/codecs/wm8900.c
@@ -987,7 +987,7 @@ static int wm8900_digital_mute(struct snd_soc_dai *codec_dai, int mute)
987 (SNDRV_PCM_FORMAT_S16_LE | SNDRV_PCM_FORMAT_S20_3LE | \ 987 (SNDRV_PCM_FORMAT_S16_LE | SNDRV_PCM_FORMAT_S20_3LE | \
988 SNDRV_PCM_FORMAT_S24_LE) 988 SNDRV_PCM_FORMAT_S24_LE)
989 989
990static struct snd_soc_dai_ops wm8900_dai_ops = { 990static const struct snd_soc_dai_ops wm8900_dai_ops = {
991 .hw_params = wm8900_hw_params, 991 .hw_params = wm8900_hw_params,
992 .set_clkdiv = wm8900_set_dai_clkdiv, 992 .set_clkdiv = wm8900_set_dai_clkdiv,
993 .set_pll = wm8900_set_dai_pll, 993 .set_pll = wm8900_set_dai_pll,
diff --git a/sound/soc/codecs/wm8903.c b/sound/soc/codecs/wm8903.c
index 4ad8ebd290e3..812dce95f131 100644
--- a/sound/soc/codecs/wm8903.c
+++ b/sound/soc/codecs/wm8903.c
@@ -1732,7 +1732,7 @@ static irqreturn_t wm8903_irq(int irq, void *data)
1732 SNDRV_PCM_FMTBIT_S20_3LE |\ 1732 SNDRV_PCM_FMTBIT_S20_3LE |\
1733 SNDRV_PCM_FMTBIT_S24_LE) 1733 SNDRV_PCM_FMTBIT_S24_LE)
1734 1734
1735static struct snd_soc_dai_ops wm8903_dai_ops = { 1735static const struct snd_soc_dai_ops wm8903_dai_ops = {
1736 .hw_params = wm8903_hw_params, 1736 .hw_params = wm8903_hw_params,
1737 .digital_mute = wm8903_digital_mute, 1737 .digital_mute = wm8903_digital_mute,
1738 .set_fmt = wm8903_set_dai_fmt, 1738 .set_fmt = wm8903_set_dai_fmt,
diff --git a/sound/soc/codecs/wm8904.c b/sound/soc/codecs/wm8904.c
index bb070f835257..f0b0c7a487b3 100644
--- a/sound/soc/codecs/wm8904.c
+++ b/sound/soc/codecs/wm8904.c
@@ -2205,7 +2205,7 @@ static int wm8904_set_bias_level(struct snd_soc_codec *codec,
2205#define WM8904_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S20_3LE |\ 2205#define WM8904_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S20_3LE |\
2206 SNDRV_PCM_FMTBIT_S24_LE | SNDRV_PCM_FMTBIT_S32_LE) 2206 SNDRV_PCM_FMTBIT_S24_LE | SNDRV_PCM_FMTBIT_S32_LE)
2207 2207
2208static struct snd_soc_dai_ops wm8904_dai_ops = { 2208static const struct snd_soc_dai_ops wm8904_dai_ops = {
2209 .set_sysclk = wm8904_set_sysclk, 2209 .set_sysclk = wm8904_set_sysclk,
2210 .set_fmt = wm8904_set_fmt, 2210 .set_fmt = wm8904_set_fmt,
2211 .set_tdm_slot = wm8904_set_tdm_slot, 2211 .set_tdm_slot = wm8904_set_tdm_slot,
diff --git a/sound/soc/codecs/wm8940.c b/sound/soc/codecs/wm8940.c
index 1b5856b4ea7c..0dd1e0c0fc1b 100644
--- a/sound/soc/codecs/wm8940.c
+++ b/sound/soc/codecs/wm8940.c
@@ -644,7 +644,7 @@ static int wm8940_set_dai_clkdiv(struct snd_soc_dai *codec_dai,
644 SNDRV_PCM_FMTBIT_S24_LE | \ 644 SNDRV_PCM_FMTBIT_S24_LE | \
645 SNDRV_PCM_FMTBIT_S32_LE) 645 SNDRV_PCM_FMTBIT_S32_LE)
646 646
647static struct snd_soc_dai_ops wm8940_dai_ops = { 647static const struct snd_soc_dai_ops wm8940_dai_ops = {
648 .hw_params = wm8940_i2s_hw_params, 648 .hw_params = wm8940_i2s_hw_params,
649 .set_sysclk = wm8940_set_dai_sysclk, 649 .set_sysclk = wm8940_set_dai_sysclk,
650 .digital_mute = wm8940_mute, 650 .digital_mute = wm8940_mute,
diff --git a/sound/soc/codecs/wm8955.c b/sound/soc/codecs/wm8955.c
index 3c7198779c31..dbf2a8328a8e 100644
--- a/sound/soc/codecs/wm8955.c
+++ b/sound/soc/codecs/wm8955.c
@@ -859,7 +859,7 @@ static int wm8955_set_bias_level(struct snd_soc_codec *codec,
859#define WM8955_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S20_3LE |\ 859#define WM8955_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S20_3LE |\
860 SNDRV_PCM_FMTBIT_S24_LE | SNDRV_PCM_FMTBIT_S32_LE) 860 SNDRV_PCM_FMTBIT_S24_LE | SNDRV_PCM_FMTBIT_S32_LE)
861 861
862static struct snd_soc_dai_ops wm8955_dai_ops = { 862static const struct snd_soc_dai_ops wm8955_dai_ops = {
863 .set_sysclk = wm8955_set_sysclk, 863 .set_sysclk = wm8955_set_sysclk,
864 .set_fmt = wm8955_set_fmt, 864 .set_fmt = wm8955_set_fmt,
865 .hw_params = wm8955_hw_params, 865 .hw_params = wm8955_hw_params,
diff --git a/sound/soc/codecs/wm8960.c b/sound/soc/codecs/wm8960.c
index 6e22f9b3d967..06dca88a7332 100644
--- a/sound/soc/codecs/wm8960.c
+++ b/sound/soc/codecs/wm8960.c
@@ -869,7 +869,7 @@ static int wm8960_set_bias_level(struct snd_soc_codec *codec,
869 (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S20_3LE | \ 869 (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S20_3LE | \
870 SNDRV_PCM_FMTBIT_S24_LE) 870 SNDRV_PCM_FMTBIT_S24_LE)
871 871
872static struct snd_soc_dai_ops wm8960_dai_ops = { 872static const struct snd_soc_dai_ops wm8960_dai_ops = {
873 .hw_params = wm8960_hw_params, 873 .hw_params = wm8960_hw_params,
874 .digital_mute = wm8960_mute, 874 .digital_mute = wm8960_mute,
875 .set_fmt = wm8960_set_dai_fmt, 875 .set_fmt = wm8960_set_dai_fmt,
diff --git a/sound/soc/codecs/wm8961.c b/sound/soc/codecs/wm8961.c
index 7f2df7ba27f6..783a3d1daf51 100644
--- a/sound/soc/codecs/wm8961.c
+++ b/sound/soc/codecs/wm8961.c
@@ -929,7 +929,7 @@ static int wm8961_set_bias_level(struct snd_soc_codec *codec,
929 (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S20_3LE | \ 929 (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S20_3LE | \
930 SNDRV_PCM_FMTBIT_S24_LE) 930 SNDRV_PCM_FMTBIT_S24_LE)
931 931
932static struct snd_soc_dai_ops wm8961_dai_ops = { 932static const struct snd_soc_dai_ops wm8961_dai_ops = {
933 .hw_params = wm8961_hw_params, 933 .hw_params = wm8961_hw_params,
934 .set_sysclk = wm8961_set_sysclk, 934 .set_sysclk = wm8961_set_sysclk,
935 .set_fmt = wm8961_set_fmt, 935 .set_fmt = wm8961_set_fmt,
diff --git a/sound/soc/codecs/wm8962.c b/sound/soc/codecs/wm8962.c
index 48b5c95a0648..555311d1ce37 100644
--- a/sound/soc/codecs/wm8962.c
+++ b/sound/soc/codecs/wm8962.c
@@ -3503,7 +3503,7 @@ static int wm8962_mute(struct snd_soc_dai *dai, int mute)
3503#define WM8962_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S20_3LE |\ 3503#define WM8962_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S20_3LE |\
3504 SNDRV_PCM_FMTBIT_S24_LE | SNDRV_PCM_FMTBIT_S32_LE) 3504 SNDRV_PCM_FMTBIT_S24_LE | SNDRV_PCM_FMTBIT_S32_LE)
3505 3505
3506static struct snd_soc_dai_ops wm8962_dai_ops = { 3506static const struct snd_soc_dai_ops wm8962_dai_ops = {
3507 .hw_params = wm8962_hw_params, 3507 .hw_params = wm8962_hw_params,
3508 .set_sysclk = wm8962_set_dai_sysclk, 3508 .set_sysclk = wm8962_set_dai_sysclk,
3509 .set_fmt = wm8962_set_dai_fmt, 3509 .set_fmt = wm8962_set_dai_fmt,
diff --git a/sound/soc/codecs/wm8971.c b/sound/soc/codecs/wm8971.c
index 3a06a95dd96f..98bfbdd62c60 100644
--- a/sound/soc/codecs/wm8971.c
+++ b/sound/soc/codecs/wm8971.c
@@ -567,7 +567,7 @@ static int wm8971_set_bias_level(struct snd_soc_codec *codec,
567#define WM8971_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S20_3LE |\ 567#define WM8971_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S20_3LE |\
568 SNDRV_PCM_FMTBIT_S24_LE) 568 SNDRV_PCM_FMTBIT_S24_LE)
569 569
570static struct snd_soc_dai_ops wm8971_dai_ops = { 570static const struct snd_soc_dai_ops wm8971_dai_ops = {
571 .hw_params = wm8971_pcm_hw_params, 571 .hw_params = wm8971_pcm_hw_params,
572 .digital_mute = wm8971_mute, 572 .digital_mute = wm8971_mute,
573 .set_fmt = wm8971_set_dai_fmt, 573 .set_fmt = wm8971_set_dai_fmt,
diff --git a/sound/soc/codecs/wm8974.c b/sound/soc/codecs/wm8974.c
index 7bd35b8fdcd2..16569c7a03c1 100644
--- a/sound/soc/codecs/wm8974.c
+++ b/sound/soc/codecs/wm8974.c
@@ -557,7 +557,7 @@ static int wm8974_set_bias_level(struct snd_soc_codec *codec,
557#define WM8974_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S20_3LE |\ 557#define WM8974_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S20_3LE |\
558 SNDRV_PCM_FMTBIT_S24_LE) 558 SNDRV_PCM_FMTBIT_S24_LE)
559 559
560static struct snd_soc_dai_ops wm8974_ops = { 560static const struct snd_soc_dai_ops wm8974_ops = {
561 .hw_params = wm8974_pcm_hw_params, 561 .hw_params = wm8974_pcm_hw_params,
562 .digital_mute = wm8974_mute, 562 .digital_mute = wm8974_mute,
563 .set_fmt = wm8974_set_dai_fmt, 563 .set_fmt = wm8974_set_dai_fmt,
diff --git a/sound/soc/codecs/wm8978.c b/sound/soc/codecs/wm8978.c
index 41ca4d9ac20c..517bb2238d46 100644
--- a/sound/soc/codecs/wm8978.c
+++ b/sound/soc/codecs/wm8978.c
@@ -865,7 +865,7 @@ static int wm8978_set_bias_level(struct snd_soc_codec *codec,
865#define WM8978_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S20_3LE | \ 865#define WM8978_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S20_3LE | \
866 SNDRV_PCM_FMTBIT_S24_LE | SNDRV_PCM_FMTBIT_S32_LE) 866 SNDRV_PCM_FMTBIT_S24_LE | SNDRV_PCM_FMTBIT_S32_LE)
867 867
868static struct snd_soc_dai_ops wm8978_dai_ops = { 868static const struct snd_soc_dai_ops wm8978_dai_ops = {
869 .hw_params = wm8978_hw_params, 869 .hw_params = wm8978_hw_params,
870 .digital_mute = wm8978_mute, 870 .digital_mute = wm8978_mute,
871 .set_fmt = wm8978_set_dai_fmt, 871 .set_fmt = wm8978_set_dai_fmt,
diff --git a/sound/soc/codecs/wm8983.c b/sound/soc/codecs/wm8983.c
index 58e067b5a6a3..362298cce92c 100644
--- a/sound/soc/codecs/wm8983.c
+++ b/sound/soc/codecs/wm8983.c
@@ -1035,7 +1035,7 @@ static int wm8983_probe(struct snd_soc_codec *codec)
1035 return 0; 1035 return 0;
1036} 1036}
1037 1037
1038static struct snd_soc_dai_ops wm8983_dai_ops = { 1038static const struct snd_soc_dai_ops wm8983_dai_ops = {
1039 .digital_mute = wm8983_dac_mute, 1039 .digital_mute = wm8983_dac_mute,
1040 .hw_params = wm8983_hw_params, 1040 .hw_params = wm8983_hw_params,
1041 .set_fmt = wm8983_set_fmt, 1041 .set_fmt = wm8983_set_fmt,
diff --git a/sound/soc/codecs/wm8985.c b/sound/soc/codecs/wm8985.c
index 36c4ee08e159..9e4481bb1223 100644
--- a/sound/soc/codecs/wm8985.c
+++ b/sound/soc/codecs/wm8985.c
@@ -1031,7 +1031,7 @@ err_reg_get:
1031 return ret; 1031 return ret;
1032} 1032}
1033 1033
1034static struct snd_soc_dai_ops wm8985_dai_ops = { 1034static const struct snd_soc_dai_ops wm8985_dai_ops = {
1035 .digital_mute = wm8985_dac_mute, 1035 .digital_mute = wm8985_dac_mute,
1036 .hw_params = wm8985_hw_params, 1036 .hw_params = wm8985_hw_params,
1037 .set_fmt = wm8985_set_fmt, 1037 .set_fmt = wm8985_set_fmt,
diff --git a/sound/soc/codecs/wm8988.c b/sound/soc/codecs/wm8988.c
index 514189d1923e..9d83bed5c210 100644
--- a/sound/soc/codecs/wm8988.c
+++ b/sound/soc/codecs/wm8988.c
@@ -701,7 +701,7 @@ static int wm8988_set_bias_level(struct snd_soc_codec *codec,
701#define WM8988_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S20_3LE |\ 701#define WM8988_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S20_3LE |\
702 SNDRV_PCM_FMTBIT_S24_LE) 702 SNDRV_PCM_FMTBIT_S24_LE)
703 703
704static struct snd_soc_dai_ops wm8988_ops = { 704static const struct snd_soc_dai_ops wm8988_ops = {
705 .startup = wm8988_pcm_startup, 705 .startup = wm8988_pcm_startup,
706 .hw_params = wm8988_pcm_hw_params, 706 .hw_params = wm8988_pcm_hw_params,
707 .set_fmt = wm8988_set_dai_fmt, 707 .set_fmt = wm8988_set_dai_fmt,
diff --git a/sound/soc/codecs/wm8990.c b/sound/soc/codecs/wm8990.c
index d4cbec6372db..61c620e5fe4f 100644
--- a/sound/soc/codecs/wm8990.c
+++ b/sound/soc/codecs/wm8990.c
@@ -1287,7 +1287,7 @@ static int wm8990_set_bias_level(struct snd_soc_codec *codec,
1287 * 1. ADC/DAC on Primary Interface 1287 * 1. ADC/DAC on Primary Interface
1288 * 2. ADC on Primary Interface/DAC on secondary 1288 * 2. ADC on Primary Interface/DAC on secondary
1289 */ 1289 */
1290static struct snd_soc_dai_ops wm8990_dai_ops = { 1290static const struct snd_soc_dai_ops wm8990_dai_ops = {
1291 .hw_params = wm8990_hw_params, 1291 .hw_params = wm8990_hw_params,
1292 .digital_mute = wm8990_mute, 1292 .digital_mute = wm8990_mute,
1293 .set_fmt = wm8990_set_dai_fmt, 1293 .set_fmt = wm8990_set_dai_fmt,
diff --git a/sound/soc/codecs/wm8991.c b/sound/soc/codecs/wm8991.c
index 1d46d59c82a3..ac957ece6785 100644
--- a/sound/soc/codecs/wm8991.c
+++ b/sound/soc/codecs/wm8991.c
@@ -1311,7 +1311,7 @@ static int wm8991_probe(struct snd_soc_codec *codec)
1311#define WM8991_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S20_3LE |\ 1311#define WM8991_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S20_3LE |\
1312 SNDRV_PCM_FMTBIT_S24_LE) 1312 SNDRV_PCM_FMTBIT_S24_LE)
1313 1313
1314static struct snd_soc_dai_ops wm8991_ops = { 1314static const struct snd_soc_dai_ops wm8991_ops = {
1315 .hw_params = wm8991_hw_params, 1315 .hw_params = wm8991_hw_params,
1316 .digital_mute = wm8991_mute, 1316 .digital_mute = wm8991_mute,
1317 .set_fmt = wm8991_set_dai_fmt, 1317 .set_fmt = wm8991_set_dai_fmt,
diff --git a/sound/soc/codecs/wm8993.c b/sound/soc/codecs/wm8993.c
index d1a142f48b09..780c24cdab6d 100644
--- a/sound/soc/codecs/wm8993.c
+++ b/sound/soc/codecs/wm8993.c
@@ -1394,7 +1394,7 @@ out:
1394 return 0; 1394 return 0;
1395} 1395}
1396 1396
1397static struct snd_soc_dai_ops wm8993_ops = { 1397static const struct snd_soc_dai_ops wm8993_ops = {
1398 .set_sysclk = wm8993_set_sysclk, 1398 .set_sysclk = wm8993_set_sysclk,
1399 .set_fmt = wm8993_set_dai_fmt, 1399 .set_fmt = wm8993_set_dai_fmt,
1400 .hw_params = wm8993_hw_params, 1400 .hw_params = wm8993_hw_params,
diff --git a/sound/soc/codecs/wm8994.c b/sound/soc/codecs/wm8994.c
index 9c982e47eb99..73db9806c475 100644
--- a/sound/soc/codecs/wm8994.c
+++ b/sound/soc/codecs/wm8994.c
@@ -2531,7 +2531,7 @@ static int wm8994_aif2_probe(struct snd_soc_dai *dai)
2531#define WM8994_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S20_3LE |\ 2531#define WM8994_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S20_3LE |\
2532 SNDRV_PCM_FMTBIT_S24_LE | SNDRV_PCM_FMTBIT_S32_LE) 2532 SNDRV_PCM_FMTBIT_S24_LE | SNDRV_PCM_FMTBIT_S32_LE)
2533 2533
2534static struct snd_soc_dai_ops wm8994_aif1_dai_ops = { 2534static const struct snd_soc_dai_ops wm8994_aif1_dai_ops = {
2535 .set_sysclk = wm8994_set_dai_sysclk, 2535 .set_sysclk = wm8994_set_dai_sysclk,
2536 .set_fmt = wm8994_set_dai_fmt, 2536 .set_fmt = wm8994_set_dai_fmt,
2537 .hw_params = wm8994_hw_params, 2537 .hw_params = wm8994_hw_params,
@@ -2541,7 +2541,7 @@ static struct snd_soc_dai_ops wm8994_aif1_dai_ops = {
2541 .set_tristate = wm8994_set_tristate, 2541 .set_tristate = wm8994_set_tristate,
2542}; 2542};
2543 2543
2544static struct snd_soc_dai_ops wm8994_aif2_dai_ops = { 2544static const struct snd_soc_dai_ops wm8994_aif2_dai_ops = {
2545 .set_sysclk = wm8994_set_dai_sysclk, 2545 .set_sysclk = wm8994_set_dai_sysclk,
2546 .set_fmt = wm8994_set_dai_fmt, 2546 .set_fmt = wm8994_set_dai_fmt,
2547 .hw_params = wm8994_hw_params, 2547 .hw_params = wm8994_hw_params,
@@ -2551,7 +2551,7 @@ static struct snd_soc_dai_ops wm8994_aif2_dai_ops = {
2551 .set_tristate = wm8994_set_tristate, 2551 .set_tristate = wm8994_set_tristate,
2552}; 2552};
2553 2553
2554static struct snd_soc_dai_ops wm8994_aif3_dai_ops = { 2554static const struct snd_soc_dai_ops wm8994_aif3_dai_ops = {
2555 .hw_params = wm8994_aif3_hw_params, 2555 .hw_params = wm8994_aif3_hw_params,
2556 .set_tristate = wm8994_set_tristate, 2556 .set_tristate = wm8994_set_tristate,
2557}; 2557};
diff --git a/sound/soc/codecs/wm8995.c b/sound/soc/codecs/wm8995.c
index 3774acb69ddd..8f6a36d7c75b 100644
--- a/sound/soc/codecs/wm8995.c
+++ b/sound/soc/codecs/wm8995.c
@@ -2155,7 +2155,7 @@ err_reg_get:
2155#define WM8995_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S20_3LE |\ 2155#define WM8995_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S20_3LE |\
2156 SNDRV_PCM_FMTBIT_S24_LE | SNDRV_PCM_FMTBIT_S32_LE) 2156 SNDRV_PCM_FMTBIT_S24_LE | SNDRV_PCM_FMTBIT_S32_LE)
2157 2157
2158static struct snd_soc_dai_ops wm8995_aif1_dai_ops = { 2158static const struct snd_soc_dai_ops wm8995_aif1_dai_ops = {
2159 .set_sysclk = wm8995_set_dai_sysclk, 2159 .set_sysclk = wm8995_set_dai_sysclk,
2160 .set_fmt = wm8995_set_dai_fmt, 2160 .set_fmt = wm8995_set_dai_fmt,
2161 .hw_params = wm8995_hw_params, 2161 .hw_params = wm8995_hw_params,
@@ -2164,7 +2164,7 @@ static struct snd_soc_dai_ops wm8995_aif1_dai_ops = {
2164 .set_tristate = wm8995_set_tristate, 2164 .set_tristate = wm8995_set_tristate,
2165}; 2165};
2166 2166
2167static struct snd_soc_dai_ops wm8995_aif2_dai_ops = { 2167static const struct snd_soc_dai_ops wm8995_aif2_dai_ops = {
2168 .set_sysclk = wm8995_set_dai_sysclk, 2168 .set_sysclk = wm8995_set_dai_sysclk,
2169 .set_fmt = wm8995_set_dai_fmt, 2169 .set_fmt = wm8995_set_dai_fmt,
2170 .hw_params = wm8995_hw_params, 2170 .hw_params = wm8995_hw_params,
@@ -2173,7 +2173,7 @@ static struct snd_soc_dai_ops wm8995_aif2_dai_ops = {
2173 .set_tristate = wm8995_set_tristate, 2173 .set_tristate = wm8995_set_tristate,
2174}; 2174};
2175 2175
2176static struct snd_soc_dai_ops wm8995_aif3_dai_ops = { 2176static const struct snd_soc_dai_ops wm8995_aif3_dai_ops = {
2177 .set_tristate = wm8995_set_tristate, 2177 .set_tristate = wm8995_set_tristate,
2178}; 2178};
2179 2179
diff --git a/sound/soc/codecs/wm8996.c b/sound/soc/codecs/wm8996.c
index fd5bb1ad6912..304a0e570cb4 100644
--- a/sound/soc/codecs/wm8996.c
+++ b/sound/soc/codecs/wm8996.c
@@ -3052,7 +3052,7 @@ static struct snd_soc_codec_driver soc_codec_dev_wm8996 = {
3052 SNDRV_PCM_FMTBIT_S20_3LE | SNDRV_PCM_FMTBIT_S24_LE |\ 3052 SNDRV_PCM_FMTBIT_S20_3LE | SNDRV_PCM_FMTBIT_S24_LE |\
3053 SNDRV_PCM_FMTBIT_S32_LE) 3053 SNDRV_PCM_FMTBIT_S32_LE)
3054 3054
3055static struct snd_soc_dai_ops wm8996_dai_ops = { 3055static const struct snd_soc_dai_ops wm8996_dai_ops = {
3056 .set_fmt = wm8996_set_fmt, 3056 .set_fmt = wm8996_set_fmt,
3057 .hw_params = wm8996_hw_params, 3057 .hw_params = wm8996_hw_params,
3058 .set_sysclk = wm8996_set_sysclk, 3058 .set_sysclk = wm8996_set_sysclk,
diff --git a/sound/soc/codecs/wm9081.c b/sound/soc/codecs/wm9081.c
index f7c0738a9da6..48bf80baf1d4 100644
--- a/sound/soc/codecs/wm9081.c
+++ b/sound/soc/codecs/wm9081.c
@@ -1234,7 +1234,7 @@ static int wm9081_set_tdm_slot(struct snd_soc_dai *dai,
1234 (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S20_3LE | \ 1234 (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S20_3LE | \
1235 SNDRV_PCM_FMTBIT_S24_LE | SNDRV_PCM_FMTBIT_S32_LE) 1235 SNDRV_PCM_FMTBIT_S24_LE | SNDRV_PCM_FMTBIT_S32_LE)
1236 1236
1237static struct snd_soc_dai_ops wm9081_dai_ops = { 1237static const struct snd_soc_dai_ops wm9081_dai_ops = {
1238 .hw_params = wm9081_hw_params, 1238 .hw_params = wm9081_hw_params,
1239 .set_fmt = wm9081_set_dai_fmt, 1239 .set_fmt = wm9081_set_dai_fmt,
1240 .digital_mute = wm9081_digital_mute, 1240 .digital_mute = wm9081_digital_mute,
diff --git a/sound/soc/codecs/wm9705.c b/sound/soc/codecs/wm9705.c
index 646b58dda849..edf603281ce7 100644
--- a/sound/soc/codecs/wm9705.c
+++ b/sound/soc/codecs/wm9705.c
@@ -258,7 +258,7 @@ static int ac97_prepare(struct snd_pcm_substream *substream,
258 SNDRV_PCM_RATE_32000 | SNDRV_PCM_RATE_44100 | \ 258 SNDRV_PCM_RATE_32000 | SNDRV_PCM_RATE_44100 | \
259 SNDRV_PCM_RATE_48000) 259 SNDRV_PCM_RATE_48000)
260 260
261static struct snd_soc_dai_ops wm9705_dai_ops = { 261static const struct snd_soc_dai_ops wm9705_dai_ops = {
262 .prepare = ac97_prepare, 262 .prepare = ac97_prepare,
263}; 263};
264 264
diff --git a/sound/soc/codecs/wm9712.c b/sound/soc/codecs/wm9712.c
index 90117f8156e8..fd1812704af8 100644
--- a/sound/soc/codecs/wm9712.c
+++ b/sound/soc/codecs/wm9712.c
@@ -505,11 +505,11 @@ static int ac97_aux_prepare(struct snd_pcm_substream *substream,
505 SNDRV_PCM_RATE_22050 | SNDRV_PCM_RATE_44100 |\ 505 SNDRV_PCM_RATE_22050 | SNDRV_PCM_RATE_44100 |\
506 SNDRV_PCM_RATE_48000) 506 SNDRV_PCM_RATE_48000)
507 507
508static struct snd_soc_dai_ops wm9712_dai_ops_hifi = { 508static const struct snd_soc_dai_ops wm9712_dai_ops_hifi = {
509 .prepare = ac97_prepare, 509 .prepare = ac97_prepare,
510}; 510};
511 511
512static struct snd_soc_dai_ops wm9712_dai_ops_aux = { 512static const struct snd_soc_dai_ops wm9712_dai_ops_aux = {
513 .prepare = ac97_aux_prepare, 513 .prepare = ac97_aux_prepare,
514}; 514};
515 515
diff --git a/sound/soc/codecs/wm9713.c b/sound/soc/codecs/wm9713.c
index 7167cb6787db..09360b60037c 100644
--- a/sound/soc/codecs/wm9713.c
+++ b/sound/soc/codecs/wm9713.c
@@ -1026,19 +1026,19 @@ static int ac97_aux_prepare(struct snd_pcm_substream *substream,
1026 (SNDRV_PCM_FORMAT_S16_LE | SNDRV_PCM_FORMAT_S20_3LE | \ 1026 (SNDRV_PCM_FORMAT_S16_LE | SNDRV_PCM_FORMAT_S20_3LE | \
1027 SNDRV_PCM_FORMAT_S24_LE) 1027 SNDRV_PCM_FORMAT_S24_LE)
1028 1028
1029static struct snd_soc_dai_ops wm9713_dai_ops_hifi = { 1029static const struct snd_soc_dai_ops wm9713_dai_ops_hifi = {
1030 .prepare = ac97_hifi_prepare, 1030 .prepare = ac97_hifi_prepare,
1031 .set_clkdiv = wm9713_set_dai_clkdiv, 1031 .set_clkdiv = wm9713_set_dai_clkdiv,
1032 .set_pll = wm9713_set_dai_pll, 1032 .set_pll = wm9713_set_dai_pll,
1033}; 1033};
1034 1034
1035static struct snd_soc_dai_ops wm9713_dai_ops_aux = { 1035static const struct snd_soc_dai_ops wm9713_dai_ops_aux = {
1036 .prepare = ac97_aux_prepare, 1036 .prepare = ac97_aux_prepare,
1037 .set_clkdiv = wm9713_set_dai_clkdiv, 1037 .set_clkdiv = wm9713_set_dai_clkdiv,
1038 .set_pll = wm9713_set_dai_pll, 1038 .set_pll = wm9713_set_dai_pll,
1039}; 1039};
1040 1040
1041static struct snd_soc_dai_ops wm9713_dai_ops_voice = { 1041static const struct snd_soc_dai_ops wm9713_dai_ops_voice = {
1042 .hw_params = wm9713_pcm_hw_params, 1042 .hw_params = wm9713_pcm_hw_params,
1043 .set_clkdiv = wm9713_set_dai_clkdiv, 1043 .set_clkdiv = wm9713_set_dai_clkdiv,
1044 .set_pll = wm9713_set_dai_pll, 1044 .set_pll = wm9713_set_dai_pll,