diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2008-08-23 11:23:55 +0200 |
---|---|---|
committer | Hans Verkuil <hverkuil@xs4all.nl> | 2008-08-23 11:23:55 +0200 |
commit | 1342dc3012002c994885d1ad6efd6c819fa2805e (patch) | |
tree | beaaeee7fdbed6a1e127a9cf6347dbf548168d12 /linux/drivers/media/radio/radio-maxiradio.c | |
parent | 79721c4957171ea0fdaf1fa6565e7699dad1b76e (diff) | |
download | mediapointer-dvb-s2-1342dc3012002c994885d1ad6efd6c819fa2805e.tar.gz mediapointer-dvb-s2-1342dc3012002c994885d1ad6efd6c819fa2805e.tar.bz2 |
v4l: add all missing video_device release callbacks
From: Hans Verkuil <hverkuil@xs4all.nl>
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.
Priority: normal
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'linux/drivers/media/radio/radio-maxiradio.c')
-rw-r--r-- | linux/drivers/media/radio/radio-maxiradio.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/linux/drivers/media/radio/radio-maxiradio.c b/linux/drivers/media/radio/radio-maxiradio.c index e20c2e3a7..a44d744dc 100644 --- a/linux/drivers/media/radio/radio-maxiradio.c +++ b/linux/drivers/media/radio/radio-maxiradio.c @@ -403,9 +403,10 @@ static const struct v4l2_ioctl_ops maxiradio_ioctl_ops = { }; static struct video_device maxiradio_radio = { - .name = "Maxi Radio FM2000 radio", - .fops = &maxiradio_fops, - .ioctl_ops = &maxiradio_ioctl_ops, + .name = "Maxi Radio FM2000 radio", + .fops = &maxiradio_fops, + .ioctl_ops = &maxiradio_ioctl_ops, + .release = video_device_release_empty, }; static int __devinit maxiradio_init_one(struct pci_dev *pdev, const struct pci_device_id *ent) |