aboutsummaryrefslogtreecommitdiffstats
path: root/include/media/v4l2-dev.h
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2009-06-19 10:32:56 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-09-18 23:19:26 -0400
commit7ae0cd9bc793e16d8d68df3c17c601732cc1d3c7 (patch)
tree6e95700b260955b91793bbc58a7d20c486e5d358 /include/media/v4l2-dev.h
parent53dacb15705901e14b03dcba27e40364fedd9d09 (diff)
V4L/DVB (12541): v4l: remove video_register_device_index
video_register_device_index is never actually called, instead the stream index number is always calculated automatically. This patch removes this function and simplifies the internal get_index function since that can now always just return the first free index. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include/media/v4l2-dev.h')
-rw-r--r--include/media/v4l2-dev.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/media/v4l2-dev.h b/include/media/v4l2-dev.h
index 2058dd45e915..255f6442b635 100644
--- a/include/media/v4l2-dev.h
+++ b/include/media/v4l2-dev.h
@@ -100,8 +100,6 @@ struct video_device
100 100
101 Also note that vdev->minor is set to -1 if the registration failed. */ 101 Also note that vdev->minor is set to -1 if the registration failed. */
102int __must_check video_register_device(struct video_device *vdev, int type, int nr); 102int __must_check video_register_device(struct video_device *vdev, int type, int nr);
103int __must_check video_register_device_index(struct video_device *vdev,
104 int type, int nr, int index);
105 103
106/* Unregister video devices. Will do nothing if vdev == NULL or 104/* Unregister video devices. Will do nothing if vdev == NULL or
107 vdev->minor < 0. */ 105 vdev->minor < 0. */