diff options
Diffstat (limited to 'drivers/media/video/usbvision/usbvision.h')
-rw-r--r-- | drivers/media/video/usbvision/usbvision.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/media/video/usbvision/usbvision.h b/drivers/media/video/usbvision/usbvision.h index 0e2b55699860..ad6afd3e42a4 100644 --- a/drivers/media/video/usbvision/usbvision.h +++ b/drivers/media/video/usbvision/usbvision.h | |||
@@ -33,6 +33,7 @@ | |||
33 | 33 | ||
34 | #include <linux/list.h> | 34 | #include <linux/list.h> |
35 | #include <linux/usb.h> | 35 | #include <linux/usb.h> |
36 | #include <linux/i2c.h> | ||
36 | #include <media/v4l2-common.h> | 37 | #include <media/v4l2-common.h> |
37 | #include <media/tuner.h> | 38 | #include <media/tuner.h> |
38 | #include <linux/videodev2.h> | 39 | #include <linux/videodev2.h> |
@@ -396,8 +397,11 @@ struct usb_usbvision { | |||
396 | 397 | ||
397 | /* Device structure */ | 398 | /* Device structure */ |
398 | struct usb_device *dev; | 399 | struct usb_device *dev; |
400 | /* usb transfer */ | ||
401 | int num_alt; /* Number of alternative settings */ | ||
402 | unsigned int *alt_max_pkt_size; /* array of wMaxPacketSize */ | ||
399 | unsigned char iface; /* Video interface number */ | 403 | unsigned char iface; /* Video interface number */ |
400 | unsigned char ifaceAltActive, ifaceAltInactive; /* Alt settings */ | 404 | unsigned char ifaceAlt; /* Alt settings */ |
401 | unsigned char Vin_Reg2_Preset; | 405 | unsigned char Vin_Reg2_Preset; |
402 | struct semaphore lock; | 406 | struct semaphore lock; |
403 | struct timer_list powerOffTimer; | 407 | struct timer_list powerOffTimer; |
@@ -502,6 +506,7 @@ int usbvision_setup(struct usb_usbvision *usbvision,int format); | |||
502 | int usbvision_init_isoc(struct usb_usbvision *usbvision); | 506 | int usbvision_init_isoc(struct usb_usbvision *usbvision); |
503 | int usbvision_restart_isoc(struct usb_usbvision *usbvision); | 507 | int usbvision_restart_isoc(struct usb_usbvision *usbvision); |
504 | void usbvision_stop_isoc(struct usb_usbvision *usbvision); | 508 | void usbvision_stop_isoc(struct usb_usbvision *usbvision); |
509 | int usbvision_set_alternate(struct usb_usbvision *dev); | ||
505 | 510 | ||
506 | int usbvision_set_audio(struct usb_usbvision *usbvision, int AudioChannel); | 511 | int usbvision_set_audio(struct usb_usbvision *usbvision, int AudioChannel); |
507 | int usbvision_audio_off(struct usb_usbvision *usbvision); | 512 | int usbvision_audio_off(struct usb_usbvision *usbvision); |