ASoC: intel: constify snd_pcm_ops structures
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Mon, 14 Aug 2017 05:56:27 +0000 (11:26 +0530)
committerMark Brown <broonie@kernel.org>
Mon, 14 Aug 2017 16:23:08 +0000 (17:23 +0100)
commitf2c402ba55fe7cc3924de683ac5eef99c75eab04
treeb1a46fc0fa5800b4e1e32927b69c528c5f6a59d8
parent80cc4df8b46e91c28a6d39dd0ba76bd9c83c18ce
ASoC: intel: constify snd_pcm_ops structures

snd_pcm_ops are not supposed to change at runtime. All functions
working with snd_pcm_ops provided by <sound/soc.h> work with
const snd_pcm_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>
sound/soc/intel/baytrail/sst-baytrail-pcm.c