]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: msnd: constify snd_pcm_ops structures
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Fri, 11 Aug 2017 11:58:03 +0000 (17:28 +0530)
committerTakashi Iwai <tiwai@suse.de>
Sat, 12 Aug 2017 21:44:14 +0000 (23:44 +0200)
commit2b6091e73a0c97db8935da5b2f52a1c276278e77
tree08f4b3de22f506b510dfda09feab2c330938cd1c
parentdbff3b53fab7a06a3afee1f2b726f2711bb350d2
ALSA: msnd: 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/isa/msnd/msnd.c