ASoC: intel: boards: bytcht*: Constify static snd_soc_ops
authorRikard Falkeborn <rikard.falkeborn@gmail.com>
Sat, 27 Nov 2021 09:19:54 +0000 (10:19 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 30 Nov 2021 13:08:10 +0000 (13:08 +0000)
commit10b155fd413d31c89057986d0fc3d4ceef8e0e9f
tree68128389ace6afcb2554dcc2f008de854fcb6db0
parent11918cdcffb127b6b35fe5c438e2ca8aa78249d0
ASoC: intel: boards: bytcht*: Constify static snd_soc_ops

These are only assigned to the ops fields 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>
Acked-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20211127091954.12075-1-rikard.falkeborn@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/bytcht_cx2072x.c
sound/soc/intel/boards/bytcht_nocodec.c