Commit 9e8c6048 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

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: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 242e7ad9
...@@ -2181,7 +2181,6 @@ void comedi_free_board_minor(unsigned minor) ...@@ -2181,7 +2181,6 @@ void comedi_free_board_minor(unsigned minor)
kfree(info); kfree(info);
} }
} }
EXPORT_SYMBOL_GPL(comedi_free_board_minor);
int comedi_alloc_subdevice_minor(struct comedi_device *dev, int comedi_alloc_subdevice_minor(struct comedi_device *dev,
struct comedi_subdevice *s) struct comedi_subdevice *s)
......
...@@ -522,7 +522,6 @@ static inline void *comedi_aux_data(int options[], int n) ...@@ -522,7 +522,6 @@ static inline void *comedi_aux_data(int options[], int n)
return (void *)address; return (void *)address;
} }
void comedi_free_board_minor(unsigned minor);
int comedi_alloc_subdevice_minor(struct comedi_device *dev, int comedi_alloc_subdevice_minor(struct comedi_device *dev,
struct comedi_subdevice *s); struct comedi_subdevice *s);
void comedi_free_subdevice_minor(struct comedi_subdevice *s); void comedi_free_subdevice_minor(struct comedi_subdevice *s);
......
int comedi_alloc_board_minor(struct device *hardware_device); int comedi_alloc_board_minor(struct device *hardware_device);
void comedi_free_board_minor(unsigned minor);
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment