]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: atiixp: constify ac97_pcm structures
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Wed, 23 Aug 2017 12:09:27 +0000 (17:39 +0530)
committerTakashi Iwai <tiwai@suse.de>
Wed, 23 Aug 2017 13:53:39 +0000 (15:53 +0200)
commit197768570091bf274bc4bdf1d5c85df0118c11a1
treea46e4c8fc2942ffdd3279fe7540519637fac472b
parenta07234875a81ac138da7d263cd11ae5900f51dab
ALSA: atiixp: 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>
sound/pci/atiixp.c