]> git.ipfire.org Git - thirdparty/linux.git/commit - sound/firewire/isight.c
ALSA: firewire: constify snd_pcm_ops structures
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Fri, 18 Aug 2017 07:45:13 +0000 (13:15 +0530)
committerTakashi Iwai <tiwai@suse.de>
Sat, 19 Aug 2017 09:02:17 +0000 (11:02 +0200)
commitb2165f3889ace44ee21a41ca72467be3119121db
tree5d1a98ead4f5f607c7c8be3e16547b6eae19baa6
parentf95925829b96199e4182438c3ea880ee15066b01
ALSA: firewire: 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/firewire/isight.c
sound/firewire/motu/motu-pcm.c