diff options
Diffstat (limited to 'linux/drivers/media/video/se401.c')
-rw-r--r-- | linux/drivers/media/video/se401.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/linux/drivers/media/video/se401.c b/linux/drivers/media/video/se401.c index 67987baee..4d10fe563 100644 --- a/linux/drivers/media/video/se401.c +++ b/linux/drivers/media/video/se401.c @@ -282,7 +282,11 @@ static void se401_auto_resetlevel(struct usb_se401 *se401) } /* irq handler for snapshot button */ +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,19) static void se401_button_irq(struct urb *urb, struct pt_regs *regs) +#else +static void se401_button_irq(struct urb *urb) +#endif { struct usb_se401 *se401 = urb->context; int status; @@ -318,7 +322,11 @@ exit: __FUNCTION__, status); } +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,19) static void se401_video_irq(struct urb *urb, struct pt_regs *regs) +#else +static void se401_video_irq(struct urb *urb) +#endif { struct usb_se401 *se401 = urb->context; int length = urb->actual_length; |