ASoC: nuc900: constify snd_pcm_ops structures
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Mon, 14 Aug 2017 05:56:28 +0000 (11:26 +0530)
committerMark Brown <broonie@kernel.org>
Mon, 14 Aug 2017 16:23:23 +0000 (17:23 +0100)
commitf70eab3aad004b7496755ec77763bfd6e2eff553
treee61cb43c323ff2e0f4b1db9b4a8442231f05dd00
parent83823c43c25a62b529f9dbad48c182b3d1fdddd1
ASoC: nuc900: 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/nuc900/nuc900-pcm.c