ASoC: SOF: sof-probes: Constify sof_probe_compr_ops
authorRikard Falkeborn <rikard.falkeborn@gmail.com>
Sat, 4 Dec 2021 20:32:20 +0000 (21:32 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 14 Dec 2021 13:22:16 +0000 (13:22 +0000)
commitec247fea7380244626d7095dfc1a0bb6c1f84f29
tree7809f951931f3c336d9b45556208d7a8c66dbb30
parent475b17b4a875ef31246c6a038ee60d5ca4982ea5
ASoC: SOF: sof-probes: Constify sof_probe_compr_ops

The only usage of sof_probe_compr_ops is to assign its address to the
cops field in the snd_soc_dai_driver struct (in
sound/soc/sof/intel/hda-dai.c). Make it const to allow the compiler to
put it in read-only memory.

Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com>
Link: https://lore.kernel.org/r/20211204203220.54712-1-rikard.falkeborn@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/sof-probes.c
sound/soc/sof/sof-probes.h