diff options
Diffstat (limited to 'linux/drivers/media/video/usbvideo/quickcam_messenger.c')
-rw-r--r-- | linux/drivers/media/video/usbvideo/quickcam_messenger.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/linux/drivers/media/video/usbvideo/quickcam_messenger.c b/linux/drivers/media/video/usbvideo/quickcam_messenger.c index 66e750336..95f6b86f0 100644 --- a/linux/drivers/media/video/usbvideo/quickcam_messenger.c +++ b/linux/drivers/media/video/usbvideo/quickcam_messenger.c @@ -130,7 +130,11 @@ static void qcm_report_buttonstat(struct qcm *cam) } } +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,19) static void qcm_int_irq(struct urb *urb, struct pt_regs *regs) +#else +static void qcm_int_irq(struct urb *urb) +#endif { int ret; struct uvd *uvd = urb->context; @@ -611,7 +615,11 @@ static void resubmit_urb(struct uvd *uvd, struct urb *urb) err("usb_submit_urb error (%d)", ret); } +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,19) static void qcm_isoc_irq(struct urb *urb, struct pt_regs *regs) +#else +static void qcm_isoc_irq(struct urb *urb) +#endif { int len; struct uvd *uvd = urb->context; |