aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/radio/radio-gemtek.c
diff options
context:
space:
mode:
authorAlexey Klimov <klimov.linux@gmail.com>2009-03-29 19:19:54 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-04-06 20:44:30 -0400
commitff1a3ebb9cd9baecd167500c660bd76129b67b1c (patch)
tree446537820a4b8e10469276c8f394c2d8a4e42567 /drivers/media/radio/radio-gemtek.c
parent65d9ff9c85d3c2e06d22aed78efee8404563eff6 (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.c')
-rw-r--r--drivers/media/radio/radio-gemtek.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/drivers/media/radio/radio-gemtek.c b/drivers/media/radio/radio-gemtek.c
index 150464426d1..73985f641f0 100644
--- a/drivers/media/radio/radio-gemtek.c
+++ b/drivers/media/radio/radio-gemtek.c
@@ -375,20 +375,9 @@ static int gemtek_probe(struct gemtek *gt)
375/* 375/*
376 * Video 4 Linux stuff. 376 * Video 4 Linux stuff.
377 */ 377 */
378static int gemtek_open(struct file *file)
379{
380 return 0;
381}
382
383static int gemtek_release(struct file *file)
384{
385 return 0;
386}
387 378
388static const struct v4l2_file_operations gemtek_fops = { 379static const struct v4l2_file_operations gemtek_fops = {
389 .owner = THIS_MODULE, 380 .owner = THIS_MODULE,
390 .open = gemtek_open,
391 .release = gemtek_release,
392 .ioctl = video_ioctl2, 381 .ioctl = video_ioctl2,
393}; 382};
394 383