diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2010-05-03 15:27:52 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-05-11 11:36:03 -0700 |
commit | 09372df0dff51121e772ca5870fb565a08840c86 (patch) | |
tree | b9e4bc70989ccf38cd55ceb1abe934121cba06b8 /drivers/staging | |
parent | 9e8c604821b372c6e98e9632f5617913bf92ae45 (diff) | |
download | linux-09372df0dff51121e772ca5870fb565a08840c86.tar.bz2 |
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>
Diffstat (limited to 'drivers/staging')
-rw-r--r-- | drivers/staging/comedi/comedidev.h | 2 | ||||
-rw-r--r-- | drivers/staging/comedi/drivers.c | 1 | ||||
-rw-r--r-- | drivers/staging/comedi/internal.h | 1 |
3 files changed, 1 insertions, 3 deletions
diff --git a/drivers/staging/comedi/comedidev.h b/drivers/staging/comedi/comedidev.h index c72fd15e6a55..3ca5832ad6f9 100644 --- a/drivers/staging/comedi/comedidev.h +++ b/drivers/staging/comedi/comedidev.h @@ -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; diff --git a/drivers/staging/comedi/drivers.c b/drivers/staging/comedi/drivers.c index 475778fb6801..f68fab9c5509 100644 --- a/drivers/staging/comedi/drivers.c +++ b/drivers/staging/comedi/drivers.c @@ -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) diff --git a/drivers/staging/comedi/internal.h b/drivers/staging/comedi/internal.h index 4b6065adb7ea..7068a38d7f3c 100644 --- a/drivers/staging/comedi/internal.h +++ b/drivers/staging/comedi/internal.h @@ -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); |