aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/radio/radio-aimslab.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-aimslab.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-aimslab.c')
-rw-r--r--drivers/media/radio/radio-aimslab.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/media/radio/radio-aimslab.c b/drivers/media/radio/radio-aimslab.c
index ac82e33cb6fc..35edee009ba8 100644
--- a/drivers/media/radio/radio-aimslab.c
+++ b/drivers/media/radio/radio-aimslab.c
@@ -355,20 +355,8 @@ static int vidioc_s_audio(struct file *file, void *priv,
355 return a->index ? -EINVAL : 0; 355 return a->index ? -EINVAL : 0;
356} 356}
357 357
358static int rtrack_open(struct file *file)
359{
360 return 0;
361}
362
363static int rtrack_release(struct file *file)
364{
365 return 0;
366}
367
368static const struct v4l2_file_operations rtrack_fops = { 358static const struct v4l2_file_operations rtrack_fops = {
369 .owner = THIS_MODULE, 359 .owner = THIS_MODULE,
370 .open = rtrack_open,
371 .release = rtrack_release,
372 .ioctl = video_ioctl2, 360 .ioctl = video_ioctl2,
373}; 361};
374 362