aboutsummaryrefslogtreecommitdiffstats
path: root/include/media
diff options
context:
space:
mode:
Diffstat (limited to 'include/media')
-rw-r--r--include/media/v4l2-dev.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/media/v4l2-dev.h b/include/media/v4l2-dev.h
index e472b5d07a55..30855077be44 100644
--- a/include/media/v4l2-dev.h
+++ b/include/media/v4l2-dev.h
@@ -91,7 +91,12 @@ void video_unregister_device(struct video_device *);
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 *video_device_alloc(void);
94/* this release function frees the vfd pointer */
94void 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
97 static global struct. Note that having a static video_device is
98 a dubious construction at best. */
99void video_device_release_empty(struct video_device *vfd);
95 100
96#ifdef OBSOLETE_DEVDATA /* to be removed soon */ 101#ifdef OBSOLETE_DEVDATA /* to be removed soon */
97/* helper functions to access driver private data. */ 102/* helper functions to access driver private data. */