Commit 2434358a authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

Staging: comedi: move some more functions to internal.h

Only the internal comedi core calls these, so put them here.

Cc: Ian Abbott <abbotti@mev.co.uk>
Cc: Frank Mori Hess <fmhess@users.sourceforge.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 22d11424
...@@ -377,15 +377,8 @@ enum subdevice_runflags { ...@@ -377,15 +377,8 @@ enum subdevice_runflags {
SRF_RUNNING = 0x08000000 SRF_RUNNING = 0x08000000
}; };
/*
various internal comedi functions
*/
int do_rangeinfo_ioctl(struct comedi_device *dev, struct comedi_rangeinfo *arg);
int comedi_check_chanlist(struct comedi_subdevice *s, int n, unsigned int *chanlist); int comedi_check_chanlist(struct comedi_subdevice *s, int n, unsigned int *chanlist);
unsigned comedi_get_subdevice_runflags(struct comedi_subdevice *s); unsigned comedi_get_subdevice_runflags(struct comedi_subdevice *s);
int insn_inval(struct comedi_device *dev, struct comedi_subdevice *s,
struct comedi_insn *insn, unsigned int *data);
/* range stuff */ /* range stuff */
......
/*
* various internal comedi functions
*/
int do_rangeinfo_ioctl(struct comedi_device *dev, struct comedi_rangeinfo *arg);
int insn_inval(struct comedi_device *dev, struct comedi_subdevice *s,
struct comedi_insn *insn, unsigned int *data);
int comedi_alloc_board_minor(struct device *hardware_device); int comedi_alloc_board_minor(struct device *hardware_device);
void comedi_free_board_minor(unsigned minor); void comedi_free_board_minor(unsigned minor);
void comedi_reset_async_buf(struct comedi_async *async); void comedi_reset_async_buf(struct comedi_async *async);
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment