Commit aa26e46b authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by Greg Kroah-Hartman

staging: comedi: comedi_buf: don't export comedi_buf_memcpy_to()

This function is only used internally. Remove the export.
Signed-off-by: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: default avatarIan Abbott <abbotti@mev.co.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 9e2093d2
...@@ -442,7 +442,8 @@ int comedi_buf_put(struct comedi_subdevice *s, unsigned short x) ...@@ -442,7 +442,8 @@ int comedi_buf_put(struct comedi_subdevice *s, unsigned short x)
} }
EXPORT_SYMBOL_GPL(comedi_buf_put); EXPORT_SYMBOL_GPL(comedi_buf_put);
void comedi_buf_memcpy_to(struct comedi_subdevice *s, unsigned int offset, static void comedi_buf_memcpy_to(struct comedi_subdevice *s,
unsigned int offset,
const void *data, unsigned int num_bytes) const void *data, unsigned int num_bytes)
{ {
struct comedi_async *async = s->async; struct comedi_async *async = s->async;
...@@ -467,7 +468,6 @@ void comedi_buf_memcpy_to(struct comedi_subdevice *s, unsigned int offset, ...@@ -467,7 +468,6 @@ void comedi_buf_memcpy_to(struct comedi_subdevice *s, unsigned int offset,
write_ptr = 0; write_ptr = 0;
} }
} }
EXPORT_SYMBOL_GPL(comedi_buf_memcpy_to);
static void comedi_buf_memcpy_from(struct comedi_subdevice *s, static void comedi_buf_memcpy_from(struct comedi_subdevice *s,
unsigned int offset, unsigned int offset,
......
...@@ -443,9 +443,6 @@ unsigned int comedi_buf_read_free(struct comedi_subdevice *s, unsigned int n); ...@@ -443,9 +443,6 @@ unsigned int comedi_buf_read_free(struct comedi_subdevice *s, unsigned int n);
int comedi_buf_put(struct comedi_subdevice *s, unsigned short x); int comedi_buf_put(struct comedi_subdevice *s, unsigned short x);
void comedi_buf_memcpy_to(struct comedi_subdevice *s, unsigned int offset,
const void *source, unsigned int num_bytes);
unsigned int comedi_write_array_to_buffer(struct comedi_subdevice *s, unsigned int comedi_write_array_to_buffer(struct comedi_subdevice *s,
const void *data, const void *data,
unsigned int num_bytes); unsigned int num_bytes);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment