summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/uvc/uvcvideo.h
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2009-05-27 10:11:39 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-05-27 10:11:39 -0300
commite869f37a082df276cbc412d3f7da04fd3b41fed4 (patch)
treea4067ce193263515f64018aaec0d618fe5864e86 /linux/drivers/media/video/uvc/uvcvideo.h
parentfc06889a7cb90e50621ecaaf22f2f575b5ae6a44 (diff)
parentf8a7ff5ce3d73304b156a0ed39d309050c903a82 (diff)
downloadmediapointer-dvb-s2-e869f37a082df276cbc412d3f7da04fd3b41fed4.tar.gz
mediapointer-dvb-s2-e869f37a082df276cbc412d3f7da04fd3b41fed4.tar.bz2
merge: http://linuxtv.org/hg/~awalls/cx18-av-core
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'linux/drivers/media/video/uvc/uvcvideo.h')
-rw-r--r--linux/drivers/media/video/uvc/uvcvideo.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/linux/drivers/media/video/uvc/uvcvideo.h b/linux/drivers/media/video/uvc/uvcvideo.h
index 53d5c9e0c..6b254fd39 100644
--- a/linux/drivers/media/video/uvc/uvcvideo.h
+++ b/linux/drivers/media/video/uvc/uvcvideo.h
@@ -635,6 +635,7 @@ struct uvc_device {
enum uvc_device_state state;
struct kref kref;
struct list_head list;
+ atomic_t users;
/* Video control interface */
__u16 uvc_version;
@@ -771,6 +772,8 @@ extern int uvc_query_ctrl(struct uvc_device *dev, __u8 query, __u8 unit,
/* Status */
extern int uvc_status_init(struct uvc_device *dev);
extern void uvc_status_cleanup(struct uvc_device *dev);
+extern int uvc_status_start(struct uvc_device *dev);
+extern void uvc_status_stop(struct uvc_device *dev);
extern int uvc_status_suspend(struct uvc_device *dev);
extern int uvc_status_resume(struct uvc_device *dev);