aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/gspca/gspca.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/gspca/gspca.h')
-rw-r--r--drivers/media/video/gspca/gspca.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/video/gspca/gspca.h b/drivers/media/video/gspca/gspca.h
index 17e55580631e..b749c36d9f7e 100644
--- a/drivers/media/video/gspca/gspca.h
+++ b/drivers/media/video/gspca/gspca.h
@@ -198,6 +198,7 @@ struct gspca_dev {
198 struct mutex read_lock; /* read protection */ 198 struct mutex read_lock; /* read protection */
199 struct mutex queue_lock; /* ISOC queue protection */ 199 struct mutex queue_lock; /* ISOC queue protection */
200 int usb_err; /* USB error - protected by usb_lock */ 200 int usb_err; /* USB error - protected by usb_lock */
201 u16 pkt_size; /* ISOC packet size */
201#ifdef CONFIG_PM 202#ifdef CONFIG_PM
202 char frozen; /* suspend - resume */ 203 char frozen; /* suspend - resume */
203#endif 204#endif
@@ -208,7 +209,7 @@ struct gspca_dev {
208 __u8 iface; /* USB interface number */ 209 __u8 iface; /* USB interface number */
209 __u8 alt; /* USB alternate setting */ 210 __u8 alt; /* USB alternate setting */
210 __u8 nbalt; /* number of USB alternate settings */ 211 __u8 nbalt; /* number of USB alternate settings */
211 u16 pkt_size; /* ISOC packet size */ 212 u8 audio; /* presence of audio device */
212}; 213};
213 214
214int gspca_dev_probe(struct usb_interface *intf, 215int gspca_dev_probe(struct usb_interface *intf,