Searched hist:"915 a38d324d23f4fa53306a3a834f54a9f6da17c" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/sound/mips/ |
H A D | hal2.c | diff 915a38d324d23f4fa53306a3a834f54a9f6da17c Fri Aug 18 02:45:14 CDT 2017 Arvind Yadav <arvind.yadav.cs@gmail.com> ALSA: mips: 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>
|
H A D | sgio2audio.c | diff 915a38d324d23f4fa53306a3a834f54a9f6da17c Fri Aug 18 02:45:14 CDT 2017 Arvind Yadav <arvind.yadav.cs@gmail.com> ALSA: mips: 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>
|