ALSA: Constify the snd_pcm_substream struct ops field
authorLars-Peter Clausen <lars@metafoo.de>
Fri, 24 May 2013 13:18:10 +0000 (15:18 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 24 May 2013 13:41:44 +0000 (15:41 +0200)
commite6c2e7eb27fc512af6875d7f2cf313e29c61be0b
tree6e254e4b5b673569b2910fb2a6d7a16c86298308
parent3cf981484a002fd02c410741d30b234227f89568
ALSA: Constify the snd_pcm_substream struct ops field

The ops field of the snd_pcm_substream struct is never modified inside the ALSA
core. Making it const allows drivers to declare their snd_pcm_ops struct as
const.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/sound/pcm.h
sound/core/pcm_lib.c