diff options
Diffstat (limited to 'linux/drivers/media/video/pvrusb2/pvrusb2-io.c')
-rw-r--r-- | linux/drivers/media/video/pvrusb2/pvrusb2-io.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/linux/drivers/media/video/pvrusb2/pvrusb2-io.c b/linux/drivers/media/video/pvrusb2/pvrusb2-io.c index 7b3b53010..afb378b2a 100644 --- a/linux/drivers/media/video/pvrusb2/pvrusb2-io.c +++ b/linux/drivers/media/video/pvrusb2/pvrusb2-io.c @@ -449,7 +449,11 @@ static void pvr2_stream_done(struct pvr2_stream *sp) } while (0); mutex_unlock(&sp->mutex); } +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,19) static void buffer_complete(struct urb *urb, struct pt_regs *regs) +#else +static void buffer_complete(struct urb *urb) +#endif { struct pvr2_buffer *bp = urb->context; struct pvr2_stream *sp; |