Re: [PATCH] ALSA: nm256: constify snd_ac97_res_table

2017-08-24 Thread Takashi Iwai
On Thu, 24 Aug 2017 08:25:28 +0200, Arvind Yadav wrote: > > snd_ac97_res_table are not supposed to change at runtime. All functions > working with snd_ac97_res_table provided by work with > const snd_ac97_res_table. So mark the non-const structs as const. > > Signed-off-by: Arvind Yadav Applie

[PATCH] ALSA: nm256: constify snd_ac97_res_table

2017-08-23 Thread Arvind Yadav
snd_ac97_res_table are not supposed to change at runtime. All functions working with snd_ac97_res_table provided by work with const snd_ac97_res_table. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- sound/pci/nm256/nm256.c | 2 +- 1 file changed, 1 insertion(+), 1 delet