diff options
Diffstat (limited to 'drivers/media/video/usbvision/usbvision.h')
-rw-r--r-- | drivers/media/video/usbvision/usbvision.h | 3 |
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); | |||
490 | int usbvision_write_reg(struct usb_usbvision *usbvision, unsigned char reg, | 491 | int usbvision_write_reg(struct usb_usbvision *usbvision, unsigned char reg, |
491 | unsigned char value); | 492 | unsigned char value); |
492 | 493 | ||
493 | int usbvision_frames_alloc(struct usb_usbvision *usbvision); | 494 | int usbvision_frames_alloc(struct usb_usbvision *usbvision, int number_of_frames); |
494 | void usbvision_frames_free(struct usb_usbvision *usbvision); | 495 | void usbvision_frames_free(struct usb_usbvision *usbvision); |
495 | int usbvision_scratch_alloc(struct usb_usbvision *usbvision); | 496 | int usbvision_scratch_alloc(struct usb_usbvision *usbvision); |
496 | void usbvision_scratch_free(struct usb_usbvision *usbvision); | 497 | void usbvision_scratch_free(struct usb_usbvision *usbvision); |