]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: echoaudio: constify snd_pcm_ops structures
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Thu, 10 Aug 2017 11:47:34 +0000 (17:17 +0530)
committerTakashi Iwai <tiwai@suse.de>
Thu, 10 Aug 2017 15:56:06 +0000 (17:56 +0200)
commit565896e8c928c9c6be1d33d6b9bbe41214d04b8a
tree2fb59b899242ea23f3d424ebb4475428e32301de
parent6d22af3493b9cb71aa459ef6206521a86f627b0e
ALSA: echoaudio: 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/pci/echoaudio/echoaudio.c