ASoC: codecs: constify snd_soc_dai_ops structures
[sfrench/cifs-2.6.git] / sound / soc / codecs / msm8916-wcd-analog.c
index a78802920c3cc098af2526a4ba335dba0df5a59f..f07674eddc52a6535a7fec13f9e6c927a725752b 100644 (file)
@@ -753,7 +753,7 @@ static void pm8916_wcd_analog_shutdown(struct snd_pcm_substream *substream,
                            RST_CTL_DIG_SW_RST_N_MASK, 0);
 }
 
-static struct snd_soc_dai_ops pm8916_wcd_analog_dai_ops = {
+static const struct snd_soc_dai_ops pm8916_wcd_analog_dai_ops = {
        .startup = pm8916_wcd_analog_startup,
        .shutdown = pm8916_wcd_analog_shutdown,
 };
@@ -785,7 +785,7 @@ static struct snd_soc_dai_driver pm8916_wcd_analog_dai[] = {
               },
 };
 
-static struct snd_soc_codec_driver pm8916_wcd_analog = {
+static const struct snd_soc_codec_driver pm8916_wcd_analog = {
        .probe = pm8916_wcd_analog_probe,
        .remove = pm8916_wcd_analog_remove,
        .get_regmap = pm8916_get_regmap,