]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: sh: constify snd_pcm_ops structures
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Mon, 14 Aug 2017 05:56:32 +0000 (11:26 +0530)
committerMark Brown <broonie@kernel.org>
Mon, 14 Aug 2017 16:23:43 +0000 (17:23 +0100)
commite199d5a250ea7011dabc5ed41057281c08d95d26
treed305d0a27bea2543232fe4850f7c2e3954fa9c48
parentfea3d33929780c8287a9da2c16d3cc37d6e42a5c
ASoC: sh: 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/sh/dma-sh7760.c
sound/soc/sh/fsi.c
sound/soc/sh/rcar/core.c
sound/soc/sh/siu_pcm.c