ALSA: ppc: constify snd_pcm_ops structures
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Fri, 18 Aug 2017 07:45:17 +0000 (13:15 +0530)
committerTakashi Iwai <tiwai@suse.de>
Sat, 19 Aug 2017 09:02:22 +0000 (11:02 +0200)
commit3179a3ea7125b8139aa977d7f8715f4960c241f8
tree7631c917e82dec9160058e8d9c25674f26919d1e
parente0c24d8b27593475c33710d2497e1e0b745c2d12
ALSA: ppc: 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/ppc/pmac.c
sound/ppc/snd_ps3.c