ASoC: rt*: Constify static struct sdw_slave_ops
authorRikard Falkeborn <rikard.falkeborn@gmail.com>
Wed, 24 Feb 2021 21:19:15 +0000 (22:19 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 10 Mar 2021 13:06:32 +0000 (13:06 +0000)
commit628fc9d9a0e6e52fd3116b5591cb4e90473db9ad
tree86e67654c498bdd569ce48188fb51a08ada13d5b
parente92a309be437b761c6972502386ea717c6fed027
ASoC: rt*: Constify static struct sdw_slave_ops

The only usage of these is to assign their address to the ops field in
the sdw_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>
Link: https://lore.kernel.org/r/20210224211918.39109-2-rikard.falkeborn@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt1308-sdw.c
sound/soc/codecs/rt5682-sdw.c
sound/soc/codecs/rt700-sdw.c
sound/soc/codecs/rt711-sdw.c
sound/soc/codecs/rt715-sdw.c