diff options
Diffstat (limited to 'linux/drivers/media/video/pvrusb2/pvrusb2-hdw.c')
-rw-r--r-- | linux/drivers/media/video/pvrusb2/pvrusb2-hdw.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/linux/drivers/media/video/pvrusb2/pvrusb2-hdw.c b/linux/drivers/media/video/pvrusb2/pvrusb2-hdw.c index 065ccb0bb..17cb1d5c6 100644 --- a/linux/drivers/media/video/pvrusb2/pvrusb2-hdw.c +++ b/linux/drivers/media/video/pvrusb2/pvrusb2-hdw.c @@ -2611,7 +2611,11 @@ void pvr2_reset_ctl_endpoints(struct pvr2_hdw *hdw) #endif /* 0 */ +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,19) static void pvr2_ctl_write_complete(struct urb *urb, struct pt_regs *regs) +#else +static void pvr2_ctl_write_complete(struct urb *urb) +#endif { struct pvr2_hdw *hdw = urb->context; hdw->ctl_write_pend_flag = 0; @@ -2620,7 +2624,11 @@ static void pvr2_ctl_write_complete(struct urb *urb, struct pt_regs *regs) } +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,19) static void pvr2_ctl_read_complete(struct urb *urb, struct pt_regs *regs) +#else +static void pvr2_ctl_read_complete(struct urb *urb) +#endif { struct pvr2_hdw *hdw = urb->context; hdw->ctl_read_pend_flag = 0; |