diff options
author | Greg Kroah-Hartman | 2010-05-01 21:33:17 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2010-05-11 20:36:00 +0200 |
commit | 0fd0ca75fd9eb0e9cde49c28ad227c2d8d049366 (patch) | |
tree | f92aefd7f00a17e0277024126784190621765009 /drivers/staging/comedi/comedi_fops.c | |
parent | Staging: comedi: more EXPORT_SYMBOL movement (diff) | |
download | kernel-qcow2-linux-0fd0ca75fd9eb0e9cde49c28ad227c2d8d049366.tar.gz kernel-qcow2-linux-0fd0ca75fd9eb0e9cde49c28ad227c2d8d049366.tar.xz kernel-qcow2-linux-0fd0ca75fd9eb0e9cde49c28ad227c2d8d049366.zip |
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/comedi_fops.c')
-rw-r--r-- | drivers/staging/comedi/comedi_fops.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/comedi/comedi_fops.c b/drivers/staging/comedi/comedi_fops.c index 4fe3d0c2e6bf..b11f9b08000b 100644 --- a/drivers/staging/comedi/comedi_fops.c +++ b/drivers/staging/comedi/comedi_fops.c @@ -839,7 +839,7 @@ static int parse_insn(struct comedi_device *dev, struct comedi_insn *insn, goto out; } - ret = check_chanlist(s, 1, &insn->chanspec); + ret = comedi_check_chanlist(s, 1, &insn->chanspec); if (ret < 0) { ret = -EINVAL; DPRINTK("bad chanspec\n"); @@ -1052,7 +1052,7 @@ static int do_cmd_ioctl(struct comedi_device *dev, void *arg, void *file) } /* make sure each element in channel/gain list is valid */ - ret = check_chanlist(s, async->cmd.chanlist_len, async->cmd.chanlist); + ret = comedi_check_chanlist(s, async->cmd.chanlist_len, async->cmd.chanlist); if (ret < 0) { DPRINTK("bad chanlist\n"); goto cleanup; @@ -1174,7 +1174,7 @@ static int do_cmdtest_ioctl(struct comedi_device *dev, void *arg, void *file) } /* make sure each element in channel/gain list is valid */ - ret = check_chanlist(s, user_cmd.chanlist_len, chanlist); + ret = comedi_check_chanlist(s, user_cmd.chanlist_len, chanlist); if (ret < 0) { DPRINTK("bad chanlist\n"); goto cleanup; |