ALSA: intel8x0: constify ac97_pcm structures
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Wed, 23 Aug 2017 12:09:28 +0000 (17:39 +0530)
committerTakashi Iwai <tiwai@suse.de>
Wed, 23 Aug 2017 13:53:40 +0000 (15:53 +0200)
commit668d06165c4a7d5bbb29fadd3e1b2d610b73c456
treee21fd3272af1aca22a8006662f9717043751ca91
parent9715f0bdb61e98652a1c84408f2bc059d01ce85b
ALSA: intel8x0: 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/intel8x0.c