Commit 09372df0 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman
Browse files

Staging: comedi: make comedi_reset_async_buf 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 9e8c6048
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -495,8 +495,6 @@ static inline unsigned comedi_buf_read_n_allocated(struct comedi_async *async)
	return async->buf_read_alloc_count - async->buf_read_count;
}

void comedi_reset_async_buf(struct comedi_async *async);

static inline void *comedi_aux_data(int options[], int n)
{
	unsigned long address;
+0 −1
Original line number Diff line number Diff line
@@ -811,7 +811,6 @@ void comedi_reset_async_buf(struct comedi_async *async)

	async->events = 0;
}
EXPORT_SYMBOL(comedi_reset_async_buf);

int comedi_auto_config(struct device *hardware_device, const char *board_name,
		       const int *options, unsigned num_options)
+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);
void comedi_reset_async_buf(struct comedi_async *async);