summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/b2c2/flexcop-usb.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux/drivers/media/dvb/b2c2/flexcop-usb.c')
-rw-r--r--linux/drivers/media/dvb/b2c2/flexcop-usb.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/linux/drivers/media/dvb/b2c2/flexcop-usb.c b/linux/drivers/media/dvb/b2c2/flexcop-usb.c
index 8a3ae27f8..8d16d6e72 100644
--- a/linux/drivers/media/dvb/b2c2/flexcop-usb.c
+++ b/linux/drivers/media/dvb/b2c2/flexcop-usb.c
@@ -328,7 +328,11 @@ static void flexcop_usb_process_frame(struct flexcop_usb *fc_usb, u8 *buffer, in
fc_usb->tmp_buffer_length = l;
}
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,19)
static void flexcop_usb_urb_complete(struct urb *urb, struct pt_regs *ptregs)
+#else
+static void flexcop_usb_urb_complete(struct urb *urb)
+#endif
{
struct flexcop_usb *fc_usb = urb->context;
int i;