]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
Staging: comedi: move some more functions to internal.h
authorGreg Kroah-Hartman <gregkh@suse.de>
Mon, 3 May 2010 22:38:37 +0000 (15:38 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 11 May 2010 18:36:03 +0000 (11:36 -0700)
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: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/comedi/comedidev.h
drivers/staging/comedi/internal.h

index 3ca5832ad6f9ea1c14532b89984410b81e91b3c8..c26c6446a0ee72af6c9e06e01033e8ef90a0679a 100644 (file)
@@ -377,15 +377,8 @@ enum subdevice_runflags {
        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);
 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 */
 
index 7068a38d7f3c7d34f28551f8501750ee7bce8209..ce121f21ebc5b718f7dbbbe2b72bb0b21b7a9422 100644 (file)
@@ -1,4 +1,9 @@
-
+/*
+ * 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);
 void comedi_free_board_minor(unsigned minor);
 void comedi_reset_async_buf(struct comedi_async *async);