summaryrefslogtreecommitdiff
path: root/drivers/staging/comedi/comedidev.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/comedidev.h
parent181bd67bf5780b941f2cba6247ed1c0cdfce468a (diff)
downloadlinux-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/comedidev.h')
-rw-r--r--drivers/staging/comedi/comedidev.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/comedi/comedidev.h b/drivers/staging/comedi/comedidev.h
index 9e13964..5f017c2 100644
--- a/drivers/staging/comedi/comedidev.h
+++ b/drivers/staging/comedi/comedidev.h
@@ -522,7 +522,6 @@ static inline void *comedi_aux_data(int options[], int n)
return (void *)address;
}
-int comedi_alloc_board_minor(struct device *hardware_device);
void comedi_free_board_minor(unsigned minor);
int comedi_alloc_subdevice_minor(struct comedi_device *dev,
struct comedi_subdevice *s);