summaryrefslogtreecommitdiff
path: root/drivers/staging/comedi/range.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/staging/comedi/range.c')
-rw-r--r--drivers/staging/comedi/range.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/staging/comedi/range.c b/drivers/staging/comedi/range.c
index b5644cad2603..6b03a69762a4 100644
--- a/drivers/staging/comedi/range.c
+++ b/drivers/staging/comedi/range.c
@@ -126,7 +126,8 @@ static int aref_invalid(struct comedi_subdevice *s, unsigned int chanspec)
This function checks each element in a channel/gain list to make
make sure it is valid.
*/
-int check_chanlist(struct comedi_subdevice *s, int n, unsigned int *chanlist)
+int comedi_check_chanlist(struct comedi_subdevice *s, int n,
+ unsigned int *chanlist)
{
int i;
int chan;
@@ -160,3 +161,4 @@ int check_chanlist(struct comedi_subdevice *s, int n, unsigned int *chanlist)
}
return 0;
}
+EXPORT_SYMBOL(comedi_check_chanlist);