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)
commit58a24fc163d7079cbd4fed47b8ec96469140d722
tree7d27504301b324dffcb5e445f39c01b3bb04f6c5
parentf1a77dc17103e53e43f33beab67a287feafa6aa3
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