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-typhoon.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-typhoon.c')
-rw-r--r-- | drivers/media/radio/radio-typhoon.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/media/radio/radio-typhoon.c b/drivers/media/radio/radio-typhoon.c index 92d923c7f360..3a98f1399495 100644 --- a/drivers/media/radio/radio-typhoon.c +++ b/drivers/media/radio/radio-typhoon.c | |||
@@ -314,20 +314,8 @@ static int vidioc_log_status(struct file *file, void *priv) | |||
314 | return 0; | 314 | return 0; |
315 | } | 315 | } |
316 | 316 | ||
317 | static int typhoon_open(struct file *file) | ||
318 | { | ||
319 | return 0; | ||
320 | } | ||
321 | |||
322 | static int typhoon_release(struct file *file) | ||
323 | { | ||
324 | return 0; | ||
325 | } | ||
326 | |||
327 | static const struct v4l2_file_operations typhoon_fops = { | 317 | static const struct v4l2_file_operations typhoon_fops = { |
328 | .owner = THIS_MODULE, | 318 | .owner = THIS_MODULE, |
329 | .open = typhoon_open, | ||
330 | .release = typhoon_release, | ||
331 | .ioctl = video_ioctl2, | 319 | .ioctl = video_ioctl2, |
332 | }; | 320 | }; |
333 | 321 | ||