/* use callback - allow input to rawmidi device  */
static int snd_virmidi_use(void *private_data, struct snd_seq_port_subscribe *info)
/* use callback - allow input to rawmidi device  */
static int snd_virmidi_use(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_USE;
	return 0;
}