ASoC: mediatek: mt8195: Constify static snd_soc_ops
authorRikard Falkeborn <rikard.falkeborn@gmail.com>
Sat, 27 Nov 2021 09:31:47 +0000 (10:31 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 30 Nov 2021 13:08:08 +0000 (13:08 +0000)
commit8752d9a82fd065ef60c9a0e0e8ec820327509382
tree08225a32393cec517096da4bc9cf2048ab075f56
parent7be10cef0fbe91f83c55faea7e8b70c0529dde5f
ASoC: mediatek: mt8195: Constify static snd_soc_ops

These are only assigned to the ops field in the snd_soc_dai_link which
is a pointer to const struct snd_soc_ops. Make them const to allow the
compiler to put them in read-only memory.

Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com>
Link: https://lore.kernel.org/r/20211127093147.17368-1-rikard.falkeborn@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/mediatek/mt8195/mt8195-mt6359-rt1011-rt5682.c
sound/soc/mediatek/mt8195/mt8195-mt6359-rt1019-rt5682.c