Searched hist:10863737 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/sound/atmel/ |
H A D | ac97c.c | 10863737 Fri Aug 18 02:45:11 CDT 2017 Arvind Yadav <arvind.yadav.cs@gmail.com> ALSA: atmel: 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> 10863737 Fri Aug 18 02:45:11 CDT 2017 Arvind Yadav <arvind.yadav.cs@gmail.com> ALSA: atmel: 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>
|