[alsa-devel] [PATCH] ALSA: nm256: constify snd_ac97_res_table

Takashi Iwai tiwai at suse.de
Thu Aug 24 09:13:57 CEST 2017


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 <sound/ac97_codec.h> work with
> const snd_ac97_res_table. So mark the non-const structs as const.
> 
> Signed-off-by: Arvind Yadav <arvind.yadav.cs at gmail.com>

Applied, thanks.


Takashi


More information about the Alsa-devel mailing list