ALSA: trident: constify snd_pcm_ops structures
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Thu, 10 Aug 2017 11:47:38 +0000 (17:17 +0530)
committerTakashi Iwai <tiwai@suse.de>
Thu, 10 Aug 2017 15:56:11 +0000 (17:56 +0200)
commit841c1ea0d8f813029c821044d3e899d5eb93400a
treeee478644e1e3e95785d3bfc75c61dfb6651777f7
parent2aa0eae9702ede2af21191bce8c5848eea3306e4
ALSA: trident: 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/trident/trident_main.c