projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4462d3b
)
fix compilation error
author
Frank Mori Hess
<fmhess@speakeasy.net>
Fri, 19 Sep 2003 18:32:47 +0000
(18:32 +0000)
committer
Frank Mori Hess
<fmhess@speakeasy.net>
Fri, 19 Sep 2003 18:32:47 +0000
(18:32 +0000)
comedi/drivers/me4000.c
patch
|
blob
|
history
diff --git
a/comedi/drivers/me4000.c
b/comedi/drivers/me4000.c
index faa29b68564eaca5d8a9f9254fa938be8fafe823..4fc1d91b2e85000d2824f049b6f1ccd10493e3d3 100644
(file)
--- a/
comedi/drivers/me4000.c
+++ b/
comedi/drivers/me4000.c
@@
-1937,14
+1937,14
@@
static int me4000_dio_insn_config(
comedi_subdevice *s,
comedi_insn *insn,
lsampl_t *data){
+ unsigned long tmp;
+ int chan = CR_CHAN(insn->chanspec);
- CALL_PDEBUG("In me4000_dio_insn_config()\n");
+
CALL_PDEBUG("In me4000_dio_insn_config()\n");
- unsigned long tmp;
- int chan = CR_CHAN(insn->chanspec);
- /* Only data[0] is valid */
- if(insn->n != 1)
+
/* Only data[0] is valid */
+
if(insn->n != 1)
return -EINVAL;
/*