]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: ac97c: constify ac97_pcm structures
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Wed, 23 Aug 2017 12:09:26 +0000 (17:39 +0530)
committerTakashi Iwai <tiwai@suse.de>
Wed, 23 Aug 2017 13:53:38 +0000 (15:53 +0200)
commita07234875a81ac138da7d263cd11ae5900f51dab
treee5b09ae9a3b37cf7c8c2c51ba0b885c380292632
parent74b43a466763bc6c496295b8a835d164a094ede6
ALSA: ac97c: 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/atmel/ac97c.c