Staging: comedi: make comedi_free_board_minor local to comedi core

No one outside of the comedi core calls this function, so 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>
This commit is contained in:
Greg Kroah-Hartman 2010-05-03 15:24:14 -07:00
parent 242e7ad91a
commit 9e8c604821
3 changed files with 1 additions and 2 deletions

View File

@ -2181,7 +2181,6 @@ void comedi_free_board_minor(unsigned minor)
kfree(info);
}
}
EXPORT_SYMBOL_GPL(comedi_free_board_minor);
int comedi_alloc_subdevice_minor(struct comedi_device *dev,
struct comedi_subdevice *s)

View File

@ -522,7 +522,6 @@ static inline void *comedi_aux_data(int options[], int n)
return (void *)address;
}
void comedi_free_board_minor(unsigned minor);
int comedi_alloc_subdevice_minor(struct comedi_device *dev,
struct comedi_subdevice *s);
void comedi_free_subdevice_minor(struct comedi_subdevice *s);

View File

@ -1,2 +1,3 @@
int comedi_alloc_board_minor(struct device *hardware_device);
void comedi_free_board_minor(unsigned minor);