aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/wm8994.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/codecs/wm8994.c')
-rw-r--r--sound/soc/codecs/wm8994.c6
1 files changed, 3 insertions, 3 deletions
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};