summaryrefslogtreecommitdiff
path: root/drivers/staging/comedi/internal.h
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2010-05-03 22:20:29 (GMT)
committerGreg Kroah-Hartman <gregkh@suse.de>2010-05-11 18:36:03 (GMT)
commit242e7ad91a067243d7ab63b6a25ed2e085733446 (patch)
treeb2e077e9a287a48748d1a6a8902701203ce988ea /drivers/staging/comedi/internal.h
parent181bd67bf5780b941f2cba6247ed1c0cdfce468a (diff)
downloadlinux-fsl-qoriq-242e7ad91a067243d7ab63b6a25ed2e085733446.tar.xz
Staging: comedi: make comedi_alloc_board_minor local to comedi core
No one outside of the comedi core calls this function, so create an internal.h file to put the prototype in, and don't export it to the world. Cc: Ian Abbott <abbotti@mev.co.uk> Cc: Frank Mori Hess <fmhess@users.sourceforge.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/comedi/internal.h')
-rw-r--r--drivers/staging/comedi/internal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/staging/comedi/internal.h b/drivers/staging/comedi/internal.h
new file mode 100644
index 0000000..4ced6bf
--- /dev/null
+++ b/drivers/staging/comedi/internal.h
@@ -0,0 +1,2 @@
+
+int comedi_alloc_board_minor(struct device *hardware_device);