ASoC: pxa: constify snd_pcm_ops structures
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Mon, 14 Aug 2017 05:56:30 +0000 (11:26 +0530)
committerMark Brown <broonie@kernel.org>
Mon, 14 Aug 2017 16:19:50 +0000 (17:19 +0100)
commitd7622fa715f20dbc7c1ab0dbdd714be5a2b4c3bd
tree8c1399793b701b1acf4f19706ebe95fd552f16be
parent3d882b0ec6a50c5adff8e94a69d284543460fbe6
ASoC: pxa: 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/pxa/mmp-pcm.c
sound/soc/pxa/pxa2xx-pcm.c