ASoC: codecs: constify snd_soc_dai_ops structures
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Fri, 18 Aug 2017 12:05:59 +0000 (17:35 +0530)
committerMark Brown <broonie@kernel.org>
Fri, 18 Aug 2017 12:16:44 +0000 (13:16 +0100)
commit728c4a87f31d30669a103dac1851a15f4e2af03c
tree2a49dbb842661937cf27dfb72c7e1365bf4ca013
parenta4fe6f37269623b3be21e3697d59677809ef512b
ASoC: codecs: constify snd_soc_dai_ops structures

snd_soc_dai_ops are not supposed to change at runtime. All functions
working with snd_soc_dai_ops provided by <sound/soc-dai.h> work with
const snd_soc_dai_ops. So mark the non-const structs as const.

Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
12 files changed:
sound/soc/codecs/cs42l42.c
sound/soc/codecs/es8316.c
sound/soc/codecs/hdac_hdmi.c
sound/soc/codecs/inno_rk3036.c
sound/soc/codecs/max9867.c
sound/soc/codecs/max98926.c
sound/soc/codecs/msm8916-wcd-analog.c
sound/soc/codecs/msm8916-wcd-digital.c
sound/soc/codecs/rt5616.c
sound/soc/codecs/rt5663.c
sound/soc/codecs/tas5720.c
sound/soc/codecs/zx_aud96p22.c