|
@@ -459,7 +459,7 @@ static int max98926_dai_hw_params(struct snd_pcm_substream *substream,
|
|
#define MAX98926_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | \
|
|
#define MAX98926_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | \
|
|
SNDRV_PCM_FMTBIT_S24_LE | SNDRV_PCM_FMTBIT_S32_LE)
|
|
SNDRV_PCM_FMTBIT_S24_LE | SNDRV_PCM_FMTBIT_S32_LE)
|
|
|
|
|
|
-static struct snd_soc_dai_ops max98926_dai_ops = {
|
|
|
|
|
|
+static const struct snd_soc_dai_ops max98926_dai_ops = {
|
|
.set_fmt = max98926_dai_set_fmt,
|
|
.set_fmt = max98926_dai_set_fmt,
|
|
.hw_params = max98926_dai_hw_params,
|
|
.hw_params = max98926_dai_hw_params,
|
|
};
|
|
};
|