Commit 6f07cc6e authored by Jaroslav Kysela's avatar Jaroslav Kysela

[ALSA] TEA575x - add video release callback to avoid warning

TEA575x tuner
Signed-off-by: default avatarJaroslav Kysela <perex@suse.cz>
parent f22951c6
......@@ -168,6 +168,10 @@ static int snd_tea575x_ioctl(struct inode *inode, struct file *file,
}
}
static void snd_tea575x_release(struct video_device *vfd)
{
}
/*
* initialize all the tea575x chips
*/
......@@ -186,6 +190,7 @@ void snd_tea575x_init(tea575x_t *tea)
strcpy(tea->vd.name, tea->tea5759 ? "TEA5759 radio" : "TEA5757 radio");
tea->vd.type = VID_TYPE_TUNER;
tea->vd.hardware = VID_HARDWARE_RTRACK; /* FIXME: assign new number */
tea->vd.release = snd_tea575x_release;
video_set_drvdata(&tea->vd, tea);
tea->vd.fops = &tea->fops;
tea->fops.owner = tea->card->module;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment