summaryrefslogtreecommitdiffstats
path: root/sound/soc/samsung/tm2_wm5110.c
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2021-08-30 13:30:33 +0200
committerMark Brown <broonie@kernel.org>2021-08-30 13:30:33 +0200
commit38b7673000949ca784fcb8a9feb70d2a802befa6 (patch)
treea5d23c2784c2825c680b840ff8eb0653bdb5625e /sound/soc/samsung/tm2_wm5110.c
parentMerge remote-tracking branch 'asoc/for-5.14' into asoc-linus (diff)
parentASoC: Revert PCM trigger changes (diff)
downloadlinux-38b7673000949ca784fcb8a9feb70d2a802befa6.tar.xz
linux-38b7673000949ca784fcb8a9feb70d2a802befa6.zip
Merge remote-tracking branch 'asoc/for-5.15' into asoc-linus
Diffstat (limited to 'sound/soc/samsung/tm2_wm5110.c')
-rw-r--r--sound/soc/samsung/tm2_wm5110.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/soc/samsung/tm2_wm5110.c b/sound/soc/samsung/tm2_wm5110.c
index 84c2c63d5a87..a2c77e6defec 100644
--- a/sound/soc/samsung/tm2_wm5110.c
+++ b/sound/soc/samsung/tm2_wm5110.c
@@ -126,7 +126,7 @@ static int tm2_aif1_hw_params(struct snd_pcm_substream *substream,
return tm2_start_sysclk(rtd->card);
}
-static struct snd_soc_ops tm2_aif1_ops = {
+static const struct snd_soc_ops tm2_aif1_ops = {
.hw_params = tm2_aif1_hw_params,
};
@@ -200,7 +200,7 @@ static int tm2_aif2_hw_free(struct snd_pcm_substream *substream)
return ret;
}
-static struct snd_soc_ops tm2_aif2_ops = {
+static const struct snd_soc_ops tm2_aif2_ops = {
.hw_params = tm2_aif2_hw_params,
.hw_free = tm2_aif2_hw_free,
};
@@ -254,7 +254,7 @@ static int tm2_hdmi_hw_params(struct snd_pcm_substream *substream,
return 0;
}
-static struct snd_soc_ops tm2_hdmi_ops = {
+static const struct snd_soc_ops tm2_hdmi_ops = {
.hw_params = tm2_hdmi_hw_params,
};