summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/pwc/pwc.h
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2011-06-26 17:13:44 +0200
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-07-27 22:53:44 +0200
commit4fba471e405f8f983085fd9f2fd9637bfc275f8f (patch)
tree0110147ec02ad39b74da40841ac84c6ea2cf1599 /drivers/media/video/pwc/pwc.h
parent[media] pwc: Move various initialization to driver load and / or stream start (diff)
downloadlinux-4fba471e405f8f983085fd9f2fd9637bfc275f8f.tar.xz
linux-4fba471e405f8f983085fd9f2fd9637bfc275f8f.zip
[media] pwc: Allow multiple opens
Allow multiple opens of the /dev/video node so that control panel apps can be open to-gether with streaming apps. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/pwc/pwc.h')
-rw-r--r--drivers/media/video/pwc/pwc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/pwc/pwc.h b/drivers/media/video/pwc/pwc.h
index 8d82c6aac42c..d65cd14ef9f2 100644
--- a/drivers/media/video/pwc/pwc.h
+++ b/drivers/media/video/pwc/pwc.h
@@ -160,7 +160,7 @@ struct pwc_device
char serial[30]; /* serial number (string) */
/*** Video data ***/
- int vopen; /* flag */
+ struct file *capt_file; /* file doing video capture */
int vendpoint; /* video isoc endpoint */
int vcinterface; /* video control interface */
int valternate; /* alternate interface needed */