/* subscribe callback - allow output to rawmidi device  */
static int snd_virmidi_subscribe(void *private_data, struct snd_seq_port_subscribe *info)
/* subscribe callback - allow output to rawmidi device  */
static int snd_virmidi_subscribe(void *private_data, struct snd_seq_port_subscribe *info)
{
	struct snd_virmidi_dev *rdev;
	rdev = private_data;
	if (!try_module_get(rdev->card->module))
		return -EFAULT;
	rdev->flags |= SNDRV_VIRMIDI_SUBSCRIBE;
	return 0;
}