ASoC: codecs: constify snd_soc_dai_ops structures
[sfrench/cifs-2.6.git] / sound / soc / codecs / es8316.c
index 4f35af6a5d3acaf6eebc38421d43dd9e1c1ccaea..da2d353af5ba29a8c2018673bbddc626a56641cf 100644 (file)
@@ -502,7 +502,7 @@ static int es8316_mute(struct snd_soc_dai *dai, int mute)
 #define ES8316_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S20_3LE | \
                        SNDRV_PCM_FMTBIT_S24_LE)
 
-static struct snd_soc_dai_ops es8316_ops = {
+static const struct snd_soc_dai_ops es8316_ops = {
        .startup = es8316_pcm_startup,
        .hw_params = es8316_pcm_hw_params,
        .set_fmt = es8316_set_dai_fmt,