diff options
author | H Hartley Sweeten <hsweeten@visionengravers.com> | 2013-06-12 16:18:11 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-06-17 14:33:54 -0700 |
commit | 283ce669268da5a51eaf62efe92d5dd4625817a2 (patch) | |
tree | cde30807a454d822422440b4e1bae3d218853448 | |
parent | f43abbb4ff4bbe7f92c1293c3aa06c1e43da7695 (diff) |
staging: comedi: addi_apci_3xxx: remove 'tsk_Current' from private data
The interrupt function should be using comedi_event() to let the user
know data is available from the analog input subdevice.
The analog input subdevice is currently broken and nothing sets
tsk_Current anyway so just remove it.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/comedi/drivers/addi_apci_3xxx.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/staging/comedi/drivers/addi_apci_3xxx.c b/drivers/staging/comedi/drivers/addi_apci_3xxx.c index 1c013da80b71..0c5c05caaab8 100644 --- a/drivers/staging/comedi/drivers/addi_apci_3xxx.c +++ b/drivers/staging/comedi/drivers/addi_apci_3xxx.c @@ -24,7 +24,6 @@ #include <linux/pci.h> #include <linux/interrupt.h> -#include <linux/sched.h> #include "../comedidev.h" @@ -374,7 +373,6 @@ struct apci3xxx_private { unsigned int ui_EocEosConversionTime; unsigned char b_EocEosConversionTimeBase; unsigned char b_SingelDiff; - struct task_struct *tsk_Current; }; #include "addi-data/hwdrv_apci3xxx.c" @@ -405,8 +403,7 @@ static irqreturn_t apci3xxx_irq_handler(int irq, void *d) /* Set the interrupt flag */ devpriv->b_EocEosInterrupt = 2; - /* Send a signal to from kernel to user space */ - send_sig(SIGIO, devpriv->tsk_Current, 0); + /* FIXME: comedi_event() */ } } return IRQ_RETVAL(1); |