Merge branch 'upstream' of git://git.infradead.org/users/pcmoore/audit
[firefly-linux-kernel-4.4.55.git] / sound / soc / codecs / mc13783.c
index 3d44fc50e4d0c112d35627d01491e2f07674c459..3e770cbe7f0f49e63d92d2e29d413023ba52f03f 100644 (file)
@@ -650,14 +650,14 @@ static int mc13783_remove(struct snd_soc_codec *codec)
 #define MC13783_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S20_3LE |\
        SNDRV_PCM_FMTBIT_S24_LE)
 
-static struct snd_soc_dai_ops mc13783_ops_dac = {
+static const struct snd_soc_dai_ops mc13783_ops_dac = {
        .hw_params      = mc13783_pcm_hw_params_dac,
        .set_fmt        = mc13783_set_fmt_async,
        .set_sysclk     = mc13783_set_sysclk_dac,
        .set_tdm_slot   = mc13783_set_tdm_slot_dac,
 };
 
-static struct snd_soc_dai_ops mc13783_ops_codec = {
+static const struct snd_soc_dai_ops mc13783_ops_codec = {
        .hw_params      = mc13783_pcm_hw_params_codec,
        .set_fmt        = mc13783_set_fmt_async,
        .set_sysclk     = mc13783_set_sysclk_codec,
@@ -698,7 +698,7 @@ static struct snd_soc_dai_driver mc13783_dai_async[] = {
        },
 };
 
-static struct snd_soc_dai_ops mc13783_ops_sync = {
+static const struct snd_soc_dai_ops mc13783_ops_sync = {
        .hw_params      = mc13783_pcm_hw_params_sync,
        .set_fmt        = mc13783_set_fmt_sync,
        .set_sysclk     = mc13783_set_sysclk_sync,