summaryrefslogtreecommitdiffstats
path: root/drivers/staging/comedi/comedi_internal.h
diff options
context:
space:
mode:
authorIan Abbott <abbotti@mev.co.uk>2013-02-01 10:20:29 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-02-03 17:43:27 -0800
commite9ab1c2f7eb6bc5d885429381e773bc1a61646ca (patch)
tree82add9f28c8934ca3da22992a948aaddbb173cec /drivers/staging/comedi/comedi_internal.h
parenteec0d0dc4e16c0c412db337acc36f95411ef946e (diff)
downloadop-kernel-dev-e9ab1c2f7eb6bc5d885429381e773bc1a61646ca.zip
op-kernel-dev-e9ab1c2f7eb6bc5d885429381e773bc1a61646ca.tar.gz
staging: comedi: move comedi_alloc_subdevice_minor declarations
Move the declarations of `comedi_alloc_subdevice_minor()` and `comedi_free_subdevice_minor()` from "comedidev.h" to "comedi_internal.h" since they are only of interest to the comedi core, and are not exported to the low-level comedi drivers. Signed-off-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/comedi/comedi_internal.h')
-rw-r--r--drivers/staging/comedi/comedi_internal.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/staging/comedi/comedi_internal.h b/drivers/staging/comedi/comedi_internal.h
index b36bb95..f4f0ff2 100644
--- a/drivers/staging/comedi/comedi_internal.h
+++ b/drivers/staging/comedi/comedi_internal.h
@@ -11,6 +11,9 @@ int do_rangeinfo_ioctl(struct comedi_device *dev,
int comedi_alloc_board_minor(struct device *hardware_device);
void comedi_free_board_minor(unsigned minor);
int comedi_find_board_minor(struct device *hardware_device);
+int comedi_alloc_subdevice_minor(struct comedi_device *dev,
+ struct comedi_subdevice *s);
+void comedi_free_subdevice_minor(struct comedi_subdevice *s);
int comedi_buf_alloc(struct comedi_device *dev, struct comedi_subdevice *s,
unsigned long new_size);
OpenPOWER on IntegriCloud