diff options
author | Jonathan Cameron <jic23@cam.ac.uk> | 2011-02-11 13:09:09 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-02-18 13:22:50 -0800 |
commit | d5857d65b5f7fab78c69da4085f0ce85a0399b25 (patch) | |
tree | f6c9dc35ce16ef374a85867fc6f4d8287aa86769 /drivers/staging/iio/ring_generic.h | |
parent | f2f1794835f1d8900d2b15d114c54e70c849809b (diff) | |
download | op-kernel-dev-d5857d65b5f7fab78c69da4085f0ce85a0399b25.zip op-kernel-dev-d5857d65b5f7fab78c69da4085f0ce85a0399b25.tar.gz |
staging:iio:buffering move the copy to user on rip down into implementations
The current interface is not as adaptable as it should be. Moving
this complexity into the implementations makes it easier to add
new implementations.
Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Tested-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/iio/ring_generic.h')
-rw-r--r-- | drivers/staging/iio/ring_generic.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/iio/ring_generic.h b/drivers/staging/iio/ring_generic.h index 8ecb189..f21ac09 100644 --- a/drivers/staging/iio/ring_generic.h +++ b/drivers/staging/iio/ring_generic.h @@ -73,7 +73,7 @@ struct iio_ring_access_funcs { int (*read_last)(struct iio_ring_buffer *ring, u8 *data); int (*rip_lots)(struct iio_ring_buffer *ring, size_t count, - u8 **data, + char __user *buf, int *dead_offset); int (*mark_param_change)(struct iio_ring_buffer *ring); |