diff options
author | Alexey Klimov <klimov.linux@gmail.com> | 2009-03-29 19:19:54 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-04-06 20:44:30 -0400 |
commit | ff1a3ebb9cd9baecd167500c660bd76129b67b1c (patch) | |
tree | 446537820a4b8e10469276c8f394c2d8a4e42567 /drivers/media/radio/radio-gemtek-pci.c | |
parent | 65d9ff9c85d3c2e06d22aed78efee8404563eff6 (diff) |
V4L/DVB (11391): pci-isa radios: remove open and release functions
Patch removes empty open and release functions in pci and isa radio
drivers, setting them to NULL. V4L module doesn't call for them due to
previous patch.
Signed-off-by: Alexey Klimov <klimov.linux@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/radio/radio-gemtek-pci.c')
-rw-r--r-- | drivers/media/radio/radio-gemtek-pci.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/media/radio/radio-gemtek-pci.c b/drivers/media/radio/radio-gemtek-pci.c index 09265d25725e..c3f579de6e71 100644 --- a/drivers/media/radio/radio-gemtek-pci.c +++ b/drivers/media/radio/radio-gemtek-pci.c | |||
@@ -356,20 +356,8 @@ static struct pci_device_id gemtek_pci_id[] = | |||
356 | 356 | ||
357 | MODULE_DEVICE_TABLE(pci, gemtek_pci_id); | 357 | MODULE_DEVICE_TABLE(pci, gemtek_pci_id); |
358 | 358 | ||
359 | static int gemtek_pci_open(struct file *file) | ||
360 | { | ||
361 | return 0; | ||
362 | } | ||
363 | |||
364 | static int gemtek_pci_release(struct file *file) | ||
365 | { | ||
366 | return 0; | ||
367 | } | ||
368 | |||
369 | static const struct v4l2_file_operations gemtek_pci_fops = { | 359 | static const struct v4l2_file_operations gemtek_pci_fops = { |
370 | .owner = THIS_MODULE, | 360 | .owner = THIS_MODULE, |
371 | .open = gemtek_pci_open, | ||
372 | .release = gemtek_pci_release, | ||
373 | .ioctl = video_ioctl2, | 361 | .ioctl = video_ioctl2, |
374 | }; | 362 | }; |
375 | 363 | ||