aboutsummaryrefslogtreecommitdiffstats
path: root/include/media
diff options
context:
space:
mode:
Diffstat (limited to 'include/media')
-rw-r--r--include/media/v4l2-dev.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/media/v4l2-dev.h b/include/media/v4l2-dev.h
index 30855077be44..23df00919ae8 100644
--- a/include/media/v4l2-dev.h
+++ b/include/media/v4l2-dev.h
@@ -83,14 +83,14 @@ struct video_device
83#define to_video_device(cd) container_of(cd, struct video_device, dev) 83#define to_video_device(cd) container_of(cd, struct video_device, dev)
84 84
85/* Version 2 functions */ 85/* Version 2 functions */
86extern int video_register_device(struct video_device *vfd, int type, int nr); 86int __must_check video_register_device(struct video_device *vfd, int type, int nr);
87int video_register_device_index(struct video_device *vfd, int type, int nr, 87int __must_check video_register_device_index(struct video_device *vfd, int type, int nr,
88 int index); 88 int index);
89void video_unregister_device(struct video_device *); 89void video_unregister_device(struct video_device *);
90 90
91/* helper functions to alloc / release struct video_device, the 91/* helper functions to alloc / release struct video_device, the
92 later can be used for video_device->release() */ 92 later can be used for video_device->release() */
93struct video_device *video_device_alloc(void); 93struct video_device * __must_check video_device_alloc(void);
94/* this release function frees the vfd pointer */ 94/* this release function frees the vfd pointer */
95void video_device_release(struct video_device *vfd); 95void video_device_release(struct video_device *vfd);
96/* this release function does nothing, use when the video_device is a 96/* this release function does nothing, use when the video_device is a