ASoC: tegra: Constify static snd_soc_dai_ops structs
authorRikard Falkeborn <rikard.falkeborn@gmail.com>
Wed, 22 Sep 2021 20:54:38 +0000 (22:54 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 27 Sep 2021 12:01:03 +0000 (13:01 +0100)
commit313fab4820f3b1040bc1bd27cd4c7f69572951e8
tree1597b49bcef7172be364fe89f62ad1dd08c2de6d
parentedd6dffdc6670836909972b32a324dbf6c150757
ASoC: tegra: Constify static snd_soc_dai_ops structs

The only usage of these is to assign their address to the ops field in
the snd_soc_dai_driver struct, which is a pointer to const. Make them
const to allow the compiler to put them in read-only memory.

Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com>
Acked-by: Sameer Pujar <spujar@nvidia.com>
Link: https://lore.kernel.org/r/20210922205438.34519-1-rikard.falkeborn@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/tegra/tegra210_adx.c
sound/soc/tegra/tegra210_amx.c
sound/soc/tegra/tegra210_mixer.c
sound/soc/tegra/tegra210_mvc.c
sound/soc/tegra/tegra210_sfc.c