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

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: Greg Kroah-Hartman <gregkh@suse.de>

+1 -3
-2
drivers/staging/comedi/comedidev.h
··· 495 495 return async->buf_read_alloc_count - async->buf_read_count; 496 496 } 497 497 498 - void comedi_reset_async_buf(struct comedi_async *async); 499 - 500 498 static inline void *comedi_aux_data(int options[], int n) 501 499 { 502 500 unsigned long address;
-1
drivers/staging/comedi/drivers.c
··· 811 811 812 812 async->events = 0; 813 813 } 814 - EXPORT_SYMBOL(comedi_reset_async_buf); 815 814 816 815 int comedi_auto_config(struct device *hardware_device, const char *board_name, 817 816 const int *options, unsigned num_options)
+1
drivers/staging/comedi/internal.h
··· 1 1 2 2 int comedi_alloc_board_minor(struct device *hardware_device); 3 3 void comedi_free_board_minor(unsigned minor); 4 + void comedi_reset_async_buf(struct comedi_async *async);