|
@@ -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 | \
|
|
#define ES8316_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S20_3LE | \
|
|
SNDRV_PCM_FMTBIT_S24_LE)
|
|
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,
|
|
.startup = es8316_pcm_startup,
|
|
.hw_params = es8316_pcm_hw_params,
|
|
.hw_params = es8316_pcm_hw_params,
|
|
.set_fmt = es8316_set_dai_fmt,
|
|
.set_fmt = es8316_set_dai_fmt,
|