summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/pwc/pwc.h
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2011-06-26 11:49:59 +0200
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-07-27 22:53:44 +0200
commit6eba93573d2dda3f627006101c0652faeeaffde6 (patch)
tree540ad9fe31cc22f7a043d3fb0fb172683b9963e5 /drivers/media/video/pwc/pwc.h
parent[media] pwc: Make power-saving a per device option (diff)
downloadlinux-6eba93573d2dda3f627006101c0652faeeaffde6.tar.xz
linux-6eba93573d2dda3f627006101c0652faeeaffde6.zip
[media] pwc: Move various initialization to driver load and / or stream start
Doing a bunch of initialization every time /dev/video is opened, and thus for example when the udev rules probe for capabilities makes no sense, do it at driver load, resp. stream start instead. This is a preparation patch for allowing multiple opens of the /dev/video node. 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.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/video/pwc/pwc.h b/drivers/media/video/pwc/pwc.h
index 7013318997fd..8d82c6aac42c 100644
--- a/drivers/media/video/pwc/pwc.h
+++ b/drivers/media/video/pwc/pwc.h
@@ -158,7 +158,6 @@ struct pwc_device
int release; /* release number */
int features; /* feature bits */
char serial[30]; /* serial number (string) */
- int usb_init; /* set when the cam has been initialized */
/*** Video data ***/
int vopen; /* flag */