]> rtime.felk.cvut.cz Git - lisovros/linux_canprio.git/commitdiff
Staging: comedi: make comedi_reset_async_buf local to comedi core
authorGreg Kroah-Hartman <gregkh@suse.de>
Mon, 3 May 2010 22:27:52 +0000 (15:27 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 11 May 2010 18:36:03 +0000 (11:36 -0700)
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>
drivers/staging/comedi/comedidev.h
drivers/staging/comedi/drivers.c
drivers/staging/comedi/internal.h

index c72fd15e6a5515652e8aa0597cc8b79b5b728f58..3ca5832ad6f9ea1c14532b89984410b81e91b3c8 100644 (file)
@@ -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;
index 475778fb68012d6e1ababdf9ef686951f5caf75e..f68fab9c5509d495ad25c08a5f5e50e40fbcfa7c 100644 (file)
@@ -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)
index 4b6065adb7eafcb37b83a6c9c4ef9a1056174ee4..7068a38d7f3c7d34f28551f8501750ee7bce8209 100644 (file)
@@ -1,3 +1,4 @@
 
 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);