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

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
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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)
+0 −1
Original line number Diff line number Diff line
@@ -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);
+1 −0
Original line number Diff line number Diff line

int comedi_alloc_board_minor(struct device *hardware_device);
void comedi_free_board_minor(unsigned minor);