summaryrefslogtreecommitdiff
path: root/linux/include
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2009-06-19 16:32:56 +0200
committerHans Verkuil <hverkuil@xs4all.nl>2009-06-19 16:32:56 +0200
commit06db2bf24db3684dec5bc4cb6883c196e8a8cbba (patch)
treecc4f6890ef56521cbd06599f20c9b3a876a5dcd9 /linux/include
parent78b537e32fbc1e45a9d5fe1086c4e6c303661e53 (diff)
downloadmediapointer-dvb-s2-06db2bf24db3684dec5bc4cb6883c196e8a8cbba.tar.gz
mediapointer-dvb-s2-06db2bf24db3684dec5bc4cb6883c196e8a8cbba.tar.bz2
v4l: remove video_register_device_index
From: Hans Verkuil <hverkuil@xs4all.nl> 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. Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'linux/include')
-rw-r--r--linux/include/media/v4l2-dev.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/linux/include/media/v4l2-dev.h b/linux/include/media/v4l2-dev.h
index 978e26506..1cae97561 100644
--- a/linux/include/media/v4l2-dev.h
+++ b/linux/include/media/v4l2-dev.h
@@ -104,8 +104,6 @@ struct video_device
Also note that vdev->minor is set to -1 if the registration failed. */
int __must_check video_register_device(struct video_device *vdev, int type, int nr);
-int __must_check video_register_device_index(struct video_device *vdev,
- int type, int nr, int index);
/* Unregister video devices. Will do nothing if vdev == NULL or
vdev->minor < 0. */