Searched hist:"2 aa0eae9" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/sound/pci/ |
H A D | sis7019.c | 2aa0eae9 Thu Aug 10 06:47:37 CDT 2017 Arvind Yadav <arvind.yadav.cs@gmail.com> ALSA: sis7019: 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> 2aa0eae9 Thu Aug 10 06:47:37 CDT 2017 Arvind Yadav <arvind.yadav.cs@gmail.com> ALSA: sis7019: 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>
|