Commit 23862a35 authored by Gerd Knorr's avatar Gerd Knorr Committed by Linus Torvalds

[PATCH] v4l: usbvideo update

This patch adapts the usbvideo module to the videodev changes.  As with
all usb drivers, the unplug race fix is present here too.
parent b955c567
This diff is collapsed.
...@@ -347,15 +347,14 @@ void usbvideo_Deregister(usbvideo_t **uvt); ...@@ -347,15 +347,14 @@ void usbvideo_Deregister(usbvideo_t **uvt);
void usbvideo_Disconnect(struct usb_device *dev, void *ptr); void usbvideo_Disconnect(struct usb_device *dev, void *ptr);
void usbvideo_CameraRelease(uvd_t *uvd); void usbvideo_CameraRelease(uvd_t *uvd);
void usbvideo_v4l_close(struct video_device *dev); int usbvideo_v4l_close(struct inode *inode, struct file *file);
int usbvideo_v4l_initialize(struct video_device *dev); int usbvideo_v4l_initialize(struct video_device *dev);
int usbvideo_v4l_ioctl(struct video_device *dev, unsigned int cmd, void *arg); int usbvideo_v4l_ioctl(struct inode *inode, struct file *file,
int usbvideo_v4l_mmap(struct vm_area_struct *vma, struct video_device *dev, const char *adr, unsigned long size); unsigned int ioctlnr, void *arg);
int usbvideo_v4l_open(struct video_device *dev, int flags); int usbvideo_v4l_mmap(struct file *file, struct vm_area_struct *vma);
long usbvideo_v4l_read(struct video_device *dev, char *buf, int usbvideo_v4l_open(struct inode *inode, struct file *file);
unsigned long count, int noblock); int usbvideo_v4l_read(struct file *file, char *buf,
long usbvideo_v4l_write(struct video_device *dev, const char *buf, size_t count, loff_t *ppos);
unsigned long count, int noblock);
int usbvideo_GetFrame(uvd_t *uvd, int frameNum); int usbvideo_GetFrame(uvd_t *uvd, int frameNum);
int usbvideo_NewFrame(uvd_t *uvd, int framenum); int usbvideo_NewFrame(uvd_t *uvd, int framenum);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment