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