Searched hist:"9 b419cd4" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/sound/arm/ |
H A D | aaci.c | 9b419cd4 Wed Aug 23 07:09:25 CDT 2017 Arvind Yadav <arvind.yadav.cs@gmail.com> ALSA: aaci: constify ac97_pcm structures
ac97_pcm are not supposed to change at runtime. All functions working with ac97_pcm provided by <sound/ac97_codec.h> work with const ac97_pcm. 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> 9b419cd4 Wed Aug 23 07:09:25 CDT 2017 Arvind Yadav <arvind.yadav.cs@gmail.com> ALSA: aaci: constify ac97_pcm structures ac97_pcm are not supposed to change at runtime. All functions working with ac97_pcm provided by <sound/ac97_codec.h> work with const ac97_pcm. 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>
|