aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/usbvision/usbvision.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/usbvision/usbvision.h')
-rw-r--r--drivers/media/video/usbvision/usbvision.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/video/usbvision/usbvision.h b/drivers/media/video/usbvision/usbvision.h
index a316871b79a0..0e2b55699860 100644
--- a/drivers/media/video/usbvision/usbvision.h
+++ b/drivers/media/video/usbvision/usbvision.h
@@ -421,6 +421,7 @@ struct usb_usbvision {
421 wait_queue_head_t wait_stream; /* Processes waiting */ 421 wait_queue_head_t wait_stream; /* Processes waiting */
422 struct usbvision_frame *curFrame; // pointer to current frame, set by usbvision_find_header 422 struct usbvision_frame *curFrame; // pointer to current frame, set by usbvision_find_header
423 struct usbvision_frame frame[USBVISION_NUMFRAMES]; // frame buffer 423 struct usbvision_frame frame[USBVISION_NUMFRAMES]; // frame buffer
424 int num_frames; // number of frames allocated
424 struct usbvision_sbuf sbuf[USBVISION_NUMSBUF]; // S buffering 425 struct usbvision_sbuf sbuf[USBVISION_NUMSBUF]; // S buffering
425 volatile int remove_pending; /* If set then about to exit */ 426 volatile int remove_pending; /* If set then about to exit */
426 427
@@ -490,7 +491,7 @@ int usbvision_read_reg(struct usb_usbvision *usbvision, unsigned char reg);
490int usbvision_write_reg(struct usb_usbvision *usbvision, unsigned char reg, 491int usbvision_write_reg(struct usb_usbvision *usbvision, unsigned char reg,
491 unsigned char value); 492 unsigned char value);
492 493
493int usbvision_frames_alloc(struct usb_usbvision *usbvision); 494int usbvision_frames_alloc(struct usb_usbvision *usbvision, int number_of_frames);
494void usbvision_frames_free(struct usb_usbvision *usbvision); 495void usbvision_frames_free(struct usb_usbvision *usbvision);
495int usbvision_scratch_alloc(struct usb_usbvision *usbvision); 496int usbvision_scratch_alloc(struct usb_usbvision *usbvision);
496void usbvision_scratch_free(struct usb_usbvision *usbvision); 497void usbvision_scratch_free(struct usb_usbvision *usbvision);