]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: aoa: constify snd_pcm_ops structures
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Fri, 18 Aug 2017 07:45:09 +0000 (13:15 +0530)
committerTakashi Iwai <tiwai@suse.de>
Sat, 19 Aug 2017 09:02:12 +0000 (11:02 +0200)
commit3e53a89781d839bfe03b5570771c541a890ad9a1
treeba9a5bce377dd31b4200181142685787df096d44
parenteb8af6740c071af873023cc71eba93009535c7bd
ALSA: aoa: 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/pcm.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: Takashi Iwai <tiwai@suse.de>
sound/aoa/soundbus/i2sbus/pcm.c