Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

+1 -2
-1
drivers/staging/comedi/comedi_fops.c
··· 2181 2181 kfree(info); 2182 2182 } 2183 2183 } 2184 - EXPORT_SYMBOL_GPL(comedi_free_board_minor); 2185 2184 2186 2185 int comedi_alloc_subdevice_minor(struct comedi_device *dev, 2187 2186 struct comedi_subdevice *s)
-1
drivers/staging/comedi/comedidev.h
··· 522 522 return (void *)address; 523 523 } 524 524 525 - void comedi_free_board_minor(unsigned minor); 526 525 int comedi_alloc_subdevice_minor(struct comedi_device *dev, 527 526 struct comedi_subdevice *s); 528 527 void comedi_free_subdevice_minor(struct comedi_subdevice *s);
+1
drivers/staging/comedi/internal.h
··· 1 1 2 2 int comedi_alloc_board_minor(struct device *hardware_device); 3 + void comedi_free_board_minor(unsigned minor);