]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4cb0643354e26e78af682aae2b5393b047283d6a
tree08225a32393cec517096da4bc9cf2048ab075f56
parentcecd9590120844950a767e53b30bee1592b19820
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