]> asedeno.scripts.mit.edu Git - linux.git/commit
ALSA: sb8: constify snd_pcm_ops structures
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Fri, 11 Aug 2017 11:58:06 +0000 (17:28 +0530)
committerTakashi Iwai <tiwai@suse.de>
Sat, 12 Aug 2017 21:44:17 +0000 (23:44 +0200)
commit991768532d3e521bc3cfb667a19b1daae06593e6
treeadd8e13f73f5a7b60c22ba130c4045f02aef4296
parent3066ad553ddf6befd37275608c45318bcd2ef7ea
ALSA: sb8: 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/sb/sb8_main.c