]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - sound/parisc/harmony.c
ALSA: parisc: constify snd_pcm_ops structures
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Fri, 18 Aug 2017 07:45:15 +0000 (13:15 +0530)
committerTakashi Iwai <tiwai@suse.de>
Sat, 19 Aug 2017 09:02:19 +0000 (11:02 +0200)
commitc2992b19a7a00055443d25b9256c39ad7b3e3d69
treee42f4fdfbc09289f5e7dbaf1a80c7f6a009085c0
parent915a38d324d23f4fa53306a3a834f54a9f6da17c
ALSA: parisc: 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/parisc/harmony.c