/* Sets the rawmidi operators for the given stream direction.  */
void snd_rawmidi_set_ops(struct snd_rawmidi *rmidi, int stream, struct snd_rawmidi_ops *ops)
/* Sets the rawmidi operators for the given stream direction.  */
void snd_rawmidi_set_ops(struct snd_rawmidi *rmidi, int stream, struct snd_rawmidi_ops *ops)
{
	struct snd_rawmidi_substream *substream;
	list_for_each_entry(substream, &rmidi->streams[stream].substreams, list)
		substream->ops = ops;
}