summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/meye.h
diff options
context:
space:
mode:
authorHans Verkuil2008-08-23 10:31:47 +0200
committerMauro Carvalho Chehab2008-10-12 13:36:53 +0200
commit7d43cd53c851e3cf04d73108d4e7e25a1104c6f5 (patch)
tree4fcf2e3148065f1727b630deefef9612610bf789 /drivers/media/video/meye.h
parentV4L/DVB (8777): tea575x-tuner: replace video_exclusive_open/release (diff)
downloadkernel-qcow2-linux-7d43cd53c851e3cf04d73108d4e7e25a1104c6f5.tar.gz
kernel-qcow2-linux-7d43cd53c851e3cf04d73108d4e7e25a1104c6f5.tar.xz
kernel-qcow2-linux-7d43cd53c851e3cf04d73108d4e7e25a1104c6f5.zip
V4L/DVB (8780): v4l: replace the last uses of video_exclusive_open/release
Handle the video_exclusive_open/release functionality inside the driver. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/meye.h')
-rw-r--r--drivers/media/video/meye.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/video/meye.h b/drivers/media/video/meye.h
index d535748df445..5f70a106ba2b 100644
--- a/drivers/media/video/meye.h
+++ b/drivers/media/video/meye.h
@@ -311,6 +311,7 @@ struct meye {
struct video_device *video_dev; /* video device parameters */
struct video_picture picture; /* video picture parameters */
struct meye_params params; /* additional parameters */
+ unsigned long in_use; /* set to 1 if the device is in use */
#ifdef CONFIG_PM
u8 pm_mchip_mode; /* old mchip mode */
#endif