diff options
Diffstat (limited to 'include/media/v4l2-dev.h')
| -rw-r--r-- | include/media/v4l2-dev.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/media/v4l2-dev.h b/include/media/v4l2-dev.h index 2058dd45e915..73c9867d744c 100644 --- a/include/media/v4l2-dev.h +++ b/include/media/v4l2-dev.h | |||
| @@ -100,8 +100,10 @@ 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. */ |
| 102 | int __must_check video_register_device(struct video_device *vdev, int type, int nr); | 102 | int __must_check video_register_device(struct video_device *vdev, int type, int nr); |
| 103 | int __must_check video_register_device_index(struct video_device *vdev, | 103 | |
| 104 | int type, int nr, int index); | 104 | /* Same as video_register_device, but no warning is issued if the desired |
| 105 | device node number was already in use. */ | ||
| 106 | int __must_check video_register_device_no_warn(struct video_device *vdev, int type, int nr); | ||
| 105 | 107 | ||
| 106 | /* Unregister video devices. Will do nothing if vdev == NULL or | 108 | /* Unregister video devices. Will do nothing if vdev == NULL or |
| 107 | vdev->minor < 0. */ | 109 | vdev->minor < 0. */ |
