diff options
Diffstat (limited to 'include/media')
-rw-r--r-- | include/media/v4l2-dev.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/media/v4l2-dev.h b/include/media/v4l2-dev.h index 255f6442b635..73c9867d744c 100644 --- a/include/media/v4l2-dev.h +++ b/include/media/v4l2-dev.h | |||
@@ -101,6 +101,10 @@ struct video_device | |||
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 | 103 | ||
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); | ||
107 | |||
104 | /* Unregister video devices. Will do nothing if vdev == NULL or | 108 | /* Unregister video devices. Will do nothing if vdev == NULL or |
105 | vdev->minor < 0. */ | 109 | vdev->minor < 0. */ |
106 | void video_unregister_device(struct video_device *vdev); | 110 | void video_unregister_device(struct video_device *vdev); |