Skip to content

Commit

Permalink
Staging: comedi: make comedi_reset_async_buf local to comedi core
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Greg Kroah-Hartman committed May 11, 2010
1 parent 9e8c604 commit 09372df
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions drivers/staging/comedi/comedidev.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 0 additions & 1 deletion drivers/staging/comedi/drivers.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 1 addition & 0 deletions drivers/staging/comedi/internal.h
Original file line number Diff line number Diff line change
@@ -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);

0 comments on commit 09372df

Please sign in to comment.