ALSA: emu8000: constify snd_pcm_ops structures
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Fri, 11 Aug 2017 11:58:04 +0000 (17:28 +0530)
committerTakashi Iwai <tiwai@suse.de>
Sat, 12 Aug 2017 21:44:15 +0000 (23:44 +0200)
commit84c8f90f0db341aefdd62726c2fe6724d155bbfe
tree9801c53cac178a18006a2dfd17263d7de478b05b
parentb6dca4622a0fbad4b5f5160dfaabfe5d7bbc1b61
ALSA: emu8000: 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/sb/emu8000_pcm.c