]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit592be2b4e25fcd40f6de23f93cb8b607ca33d023
treeb1a46fc0fa5800b4e1e32927b69c528c5f6a59d8
parent36fcd303442d889afb7b8da470d834b2fa58bbdc
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