diff options
author | H Hartley Sweeten <hsweeten@visionengravers.com> | 2014-10-22 14:36:49 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-10-29 16:01:20 +0800 |
commit | aa26e46b0f1d2c0093ec59a68aec715df3f06715 (patch) | |
tree | 075e3f466a45bafcaca0f15d4519929ac6e6b814 /drivers/staging/comedi/comedi_buf.c | |
parent | 9e2093d2399a771f3896292b95ca44a147f5ac6e (diff) | |
download | op-kernel-dev-aa26e46b0f1d2c0093ec59a68aec715df3f06715.zip op-kernel-dev-aa26e46b0f1d2c0093ec59a68aec715df3f06715.tar.gz |
staging: comedi: comedi_buf: don't export comedi_buf_memcpy_to()
This function is only used internally. Remove the export.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/comedi/comedi_buf.c')
-rw-r--r-- | drivers/staging/comedi/comedi_buf.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/comedi/comedi_buf.c b/drivers/staging/comedi/comedi_buf.c index a87b8e6..0e4727d 100644 --- a/drivers/staging/comedi/comedi_buf.c +++ b/drivers/staging/comedi/comedi_buf.c @@ -442,8 +442,9 @@ int comedi_buf_put(struct comedi_subdevice *s, unsigned short x) } EXPORT_SYMBOL_GPL(comedi_buf_put); -void comedi_buf_memcpy_to(struct comedi_subdevice *s, unsigned int offset, - const void *data, unsigned int num_bytes) +static void comedi_buf_memcpy_to(struct comedi_subdevice *s, + unsigned int offset, + const void *data, unsigned int num_bytes) { struct comedi_async *async = s->async; unsigned int write_ptr = async->buf_write_ptr + offset; @@ -467,7 +468,6 @@ void comedi_buf_memcpy_to(struct comedi_subdevice *s, unsigned int offset, write_ptr = 0; } } -EXPORT_SYMBOL_GPL(comedi_buf_memcpy_to); static void comedi_buf_memcpy_from(struct comedi_subdevice *s, unsigned int offset, |