summaryrefslogtreecommitdiff
path: root/drivers/staging/comedi/kcomedilib
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2010-05-01 12:33:17 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2010-05-11 11:36:00 -0700
commit0fd0ca75fd9eb0e9cde49c28ad227c2d8d049366 (patch)
treef92aefd7f00a17e0277024126784190621765009 /drivers/staging/comedi/kcomedilib
parente42315177d278089ba7b1e623ecbd5b273b7e62b (diff)
Staging: comedi: rename check_chanlist to comedi_check_chanlist
It's a global function, so properly name it and move the export to where the function is located at. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/comedi/kcomedilib')
-rw-r--r--drivers/staging/comedi/kcomedilib/kcomedilib_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/comedi/kcomedilib/kcomedilib_main.c b/drivers/staging/comedi/kcomedilib/kcomedilib_main.c
index 288fef4fcbcc..2229b46e849c 100644
--- a/drivers/staging/comedi/kcomedilib/kcomedilib_main.c
+++ b/drivers/staging/comedi/kcomedilib/kcomedilib_main.c
@@ -251,7 +251,7 @@ int comedi_do_insn(void *d, struct comedi_insn *insn)
/* XXX check lock */
- ret = check_chanlist(s, 1, &insn->chanspec);
+ ret = comedi_check_chanlist(s, 1, &insn->chanspec);
if (ret < 0) {
printk("bad chanspec\n");
ret = -EINVAL;