]> git.proxmox.com Git - mirror_ubuntu-bionic-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)
commitb23bd34c402d08a2c1d6facdba4a75e016601c12
treed305d0a27bea2543232fe4850f7c2e3954fa9c48
parent517725545179be8d32730844f1619ee31ef04bf3
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