diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-05-27 09:13:15 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-05-27 09:13:15 -0300 |
commit | f6495a8c62646591f7785527b923544dfddc7019 (patch) | |
tree | 297ca776a6d5b8c8ded83c29d491af6ef3e5295a /linux/drivers/media/video/uvc/uvcvideo.h | |
parent | ff417333f92b9ebf9523167136785d69bb73fab6 (diff) | |
parent | 8e9cc981e8c7b756ee8da597dbd9861e86f53cbf (diff) | |
download | mediapointer-dvb-s2-f6495a8c62646591f7785527b923544dfddc7019.tar.gz mediapointer-dvb-s2-f6495a8c62646591f7785527b923544dfddc7019.tar.bz2 |
merge: http://kernellabs.com/hg/~stoth/tda10048-merge
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.h | 3 |
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); |