]> asedeno.scripts.mit.edu Git - linux.git/commit
ASoC: blackfin: constify snd_pcm_ops structures
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Mon, 14 Aug 2017 05:56:25 +0000 (11:26 +0530)
committerMark Brown <broonie@kernel.org>
Mon, 14 Aug 2017 16:17:31 +0000 (17:17 +0100)
commite76b3f41a3c39fae342fe4db530c3917199cfa96
tree0dc607ad21b35560550f8354f2eec3a0b86f7a8c
parent5771a8c08880cdca3bfb4a3fc6d309d6bba20877
ASoC: blackfin: 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/blackfin/bf5xx-ac97-pcm.c
sound/soc/blackfin/bf5xx-i2s-pcm.c