Commit aa5e90af authored by Hans Verkuil's avatar Hans Verkuil Committed by Mauro Carvalho Chehab
Browse files

V4L/DVB (8783): v4l: add all missing video_device release callbacks



All drivers that call video_device_register where checked to see if they
set the release callback of struct video_device. Where that callback was
missing it was added.

Signed-off-by: default avatarHans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent f9e86b5e
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -420,6 +420,7 @@ static struct video_device rtrack_radio = {
	.name		= "RadioTrack radio",
	.fops           = &rtrack_fops,
	.ioctl_ops 	= &rtrack_ioctl_ops,
	.release	= video_device_release_empty,
};

static int __init rtrack_init(void)
+4 −3
Original line number Diff line number Diff line
@@ -384,6 +384,7 @@ static struct video_device aztech_radio = {
	.name		= "Aztech radio",
	.fops           = &aztech_fops,
	.ioctl_ops 	= &aztech_ioctl_ops,
	.release	= video_device_release_empty,
};

module_param_named(debug,aztech_radio.debug, int, 0644);
+1 −0
Original line number Diff line number Diff line
@@ -589,6 +589,7 @@ static struct video_device cadet_radio = {
	.name		= "Cadet radio",
	.fops           = &cadet_fops,
	.ioctl_ops 	= &cadet_ioctl_ops,
	.release	= video_device_release_empty,
};

#ifdef CONFIG_PNP
+4 −3
Original line number Diff line number Diff line
@@ -404,6 +404,7 @@ static struct video_device vdev_template = {
	.name          	= "Gemtek PCI Radio",
	.fops          	= &gemtek_pci_fops,
	.ioctl_ops 	= &gemtek_pci_ioctl_ops,
	.release	= video_device_release_empty,
};

static int __devinit gemtek_pci_probe( struct pci_dev *pci_dev, const struct pci_device_id *pci_id )
+4 −3
Original line number Diff line number Diff line
@@ -584,6 +584,7 @@ static struct video_device gemtek_radio = {
	.name		= "GemTek Radio card",
	.fops		= &gemtek_fops,
	.ioctl_ops 	= &gemtek_ioctl_ops,
	.release	= video_device_release_empty,
};

/*
Loading