summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/dvb-usb/usb-urb.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux/drivers/media/dvb/dvb-usb/usb-urb.c')
-rw-r--r--linux/drivers/media/dvb/dvb-usb/usb-urb.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/linux/drivers/media/dvb/dvb-usb/usb-urb.c b/linux/drivers/media/dvb/dvb-usb/usb-urb.c
index 572b2d9aa..2ed0a214b 100644
--- a/linux/drivers/media/dvb/dvb-usb/usb-urb.c
+++ b/linux/drivers/media/dvb/dvb-usb/usb-urb.c
@@ -11,7 +11,11 @@
#include "dvb-usb-common.h"
/* URB stuff for streaming */
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,19)
static void usb_urb_complete(struct urb *urb, struct pt_regs *ptregs)
+#else
+static void usb_urb_complete(struct urb *urb)
+#endif
{
struct usb_data_stream *stream = urb->context;
int ptype = usb_pipetype(urb->pipe);