From 7a94718e326e69305136978a0d316ff7f39cd928 Mon Sep 17 00:00:00 2001 From: Bernd Porr Date: Mon, 4 Dec 2006 23:20:21 +0000 Subject: [PATCH] From 2.6.19 the pointer to the completion function is (again) without the register argument. That's basically pre 2.6.0 --- comedi/drivers/usbdux.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/comedi/drivers/usbdux.c b/comedi/drivers/usbdux.c index 2f253e8c..12302a90 100644 --- a/comedi/drivers/usbdux.c +++ b/comedi/drivers/usbdux.c @@ -387,7 +387,7 @@ static int usbdux_ai_cancel(comedi_device *dev, // analogue IN // interrupt service routine -#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,0) +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,0) || LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,19) static void usbduxsub_ai_IsocIrq(struct urb *urb) #else static void usbduxsub_ai_IsocIrq(struct urb *urb, struct pt_regs *regs) @@ -651,7 +651,7 @@ static int usbdux_ao_cancel(comedi_device *dev, -#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,0) +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,0) || LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,19) static void usbduxsub_ao_IsocIrq(struct urb *urb) { #else static void usbduxsub_ao_IsocIrq(struct urb *urb, struct pt_regs *regs) { -- 2.26.2