summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/cpia_usb.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux/drivers/media/video/cpia_usb.c')
-rw-r--r--linux/drivers/media/video/cpia_usb.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/linux/drivers/media/video/cpia_usb.c b/linux/drivers/media/video/cpia_usb.c
index 2ee34a3b9..0d974be34 100644
--- a/linux/drivers/media/video/cpia_usb.c
+++ b/linux/drivers/media/video/cpia_usb.c
@@ -109,7 +109,11 @@ static struct cpia_camera_ops cpia_usb_ops = {
static LIST_HEAD(cam_list);
static spinlock_t cam_list_lock_usb;
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,19)
static void cpia_usb_complete(struct urb *urb, struct pt_regs *regs)
+#else
+static void cpia_usb_complete(struct urb *urb)
+#endif
{
int i;
char *cdata;