]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - sound/soc/codecs/tlv320aic26.c
ASoC: Constify snd_soc_dai_ops structs
[mirror_ubuntu-bionic-kernel.git] / sound / soc / codecs / tlv320aic26.c
index 7859bdcc93db4064cad1474a8fe2533e19026f1e..86d1fa38ed2e7d8afcf0d19f8eb8786232505c8e 100644 (file)
@@ -275,7 +275,7 @@ static int aic26_set_fmt(struct snd_soc_dai *codec_dai, unsigned int fmt)
 #define AIC26_FORMATS  (SNDRV_PCM_FMTBIT_S8     | SNDRV_PCM_FMTBIT_S16_BE |\
                         SNDRV_PCM_FMTBIT_S24_BE | SNDRV_PCM_FMTBIT_S32_BE)
 
-static struct snd_soc_dai_ops aic26_dai_ops = {
+static const struct snd_soc_dai_ops aic26_dai_ops = {
        .hw_params      = aic26_hw_params,
        .digital_mute   = aic26_mute,
        .set_sysclk     = aic26_set_sysclk,