ALSA: intel8x0m: constify snd_pcm_ops structures
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Thu, 10 Aug 2017 11:47:36 +0000 (17:17 +0530)
committerTakashi Iwai <tiwai@suse.de>
Thu, 10 Aug 2017 15:56:09 +0000 (17:56 +0200)
commitc06aab337e59fd7e75c14660c60a9773885ecb3b
treee1894b548af01bd2dbd2ce3952267a390325e964
parent17e12921c51f5025e748ab84087900a7a5ecc919
ALSA: intel8x0m: 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/intel8x0m.c