OSDN Git Service

ALSA: arm: constify snd_pcm_ops structures
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Fri, 18 Aug 2017 07:45:10 +0000 (13:15 +0530)
committerTakashi Iwai <tiwai@suse.de>
Sat, 19 Aug 2017 09:02:13 +0000 (11:02 +0200)
commit28f054802aa18c248341c6113566457b5a036485
tree681dc8ba688a214295e400a55880f077d9442295
parent18f6dda9f8776354809d5ffa04627503dbb6f2e1
ALSA: arm: 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/arm/aaci.c
sound/arm/pxa2xx-pcm.c