]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - sound/soc/codecs/wm8971.c
ASoC: Constify snd_soc_dai_ops structs
[mirror_ubuntu-bionic-kernel.git] / sound / soc / codecs / wm8971.c
index 3a06a95dd96f414e028a992de349ecba6db3ed4b..98bfbdd62c6004ffeae9c5a8eef37a823c0656bd 100644 (file)
@@ -567,7 +567,7 @@ static int wm8971_set_bias_level(struct snd_soc_codec *codec,
 #define WM8971_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S20_3LE |\
        SNDRV_PCM_FMTBIT_S24_LE)
 
-static struct snd_soc_dai_ops wm8971_dai_ops = {
+static const struct snd_soc_dai_ops wm8971_dai_ops = {
        .hw_params      = wm8971_pcm_hw_params,
        .digital_mute   = wm8971_mute,
        .set_fmt        = wm8971_set_dai_fmt,