]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: ad1816a: constify snd_pcm_ops structures
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Fri, 11 Aug 2017 11:57:59 +0000 (17:27 +0530)
committerTakashi Iwai <tiwai@suse.de>
Sat, 12 Aug 2017 21:44:09 +0000 (23:44 +0200)
commitf1df0daf5ebff752b936d3e6b99dd61c5c7d714b
tree7d27504301b324dffcb5e445f39c01b3bb04f6c5
parent7034f3602410d817a94a47021f51d1e50b20043f
ALSA: ad1816a: constify snd_pcm_ops structures

snd_pcm_ops are not supposed to change at runtime. All functions
working with snd_pcm_ops provided by <sound/pcm.h> work with
const snd_pcm_ops. 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/isa/ad1816a/ad1816a_lib.c