ASoC: fsl: Constify static snd_soc_ops
authorRikard Falkeborn <rikard.falkeborn@gmail.com>
Mon, 20 Sep 2021 19:39:47 +0000 (21:39 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 21 Sep 2021 12:24:51 +0000 (13:24 +0100)
commit815b55e1101f074e737c084e996d086dcb454399
tree55f0c9317a423102d5dbcf0a28aaa35e9f06a5b0
parent8e8f2ac09db909e7cb8ae1fef9c1e524c49a1b48
ASoC: fsl: Constify static snd_soc_ops

These are only assigned to the ops field in the snd_soc_dai_link struct
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/20210920193947.10237-1-rikard.falkeborn@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/imx-audmix.c
sound/soc/fsl/imx-card.c
sound/soc/fsl/imx-hdmi.c