aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/staging/comedi/drivers/s626.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/staging/comedi/drivers/s626.c b/drivers/staging/comedi/drivers/s626.c
index 430e26b9e344..24878c815fd7 100644
--- a/drivers/staging/comedi/drivers/s626.c
+++ b/drivers/staging/comedi/drivers/s626.c
@@ -1804,6 +1804,9 @@ static int s626_dio_insn_config(struct comedi_device *dev,
1804/* Now this function initializes the value of the counter (data[0]) 1804/* Now this function initializes the value of the counter (data[0])
1805 and set the subdevice. To complete with trigger and interrupt 1805 and set the subdevice. To complete with trigger and interrupt
1806 configuration */ 1806 configuration */
1807/* FIXME: data[0] is supposed to be an INSN_CONFIG_xxx constant indicating
1808 * what is being configured, but this function appears to be using data[0]
1809 * as a variable. */
1807static int s626_enc_insn_config(struct comedi_device *dev, 1810static int s626_enc_insn_config(struct comedi_device *dev,
1808 struct comedi_subdevice *s, 1811 struct comedi_subdevice *s,
1809 struct comedi_insn *insn, unsigned int *data) 1812 struct comedi_insn *insn, unsigned int *data)