diff options
author | Jonathan Cameron <jic23@cam.ac.uk> | 2011-08-30 12:41:13 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-09-06 16:00:27 -0700 |
commit | 6446e9cd2c1658f0afe856dfbe0b4623db39fb46 (patch) | |
tree | 1f5cfe393fc6ede42584bfe687d2875c59568714 | |
parent | 1a25e5928e5ff7612087aab06c4130bf0ebe6592 (diff) | |
download | op-kernel-dev-6446e9cd2c1658f0afe856dfbe0b4623db39fb46.zip op-kernel-dev-6446e9cd2c1658f0afe856dfbe0b4623db39fb46.tar.gz |
staging:iio:buffering drag some stray docs back to correct place.
Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r-- | drivers/staging/iio/ring_generic.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/drivers/staging/iio/ring_generic.h b/drivers/staging/iio/ring_generic.h index a63a9cb..37ab4db 100644 --- a/drivers/staging/iio/ring_generic.h +++ b/drivers/staging/iio/ring_generic.h @@ -65,6 +65,13 @@ struct iio_ring_access_funcs { int (*enable)(struct iio_ring_buffer *ring); }; +/** + * struct iio_ring_setup_ops - buffer setup related callbacks + * @preenable: [DRIVER] function to run prior to marking ring enabled + * @postenable: [DRIVER] function to run after marking ring enabled + * @predisable: [DRIVER] function to run prior to marking ring disabled + * @postdisable: [DRIVER] function to run after marking ring disabled + */ struct iio_ring_setup_ops { int (*preenable)(struct iio_dev *); int (*postenable)(struct iio_dev *); @@ -87,10 +94,6 @@ struct iio_ring_setup_ops { * @scan_timestamp: [INTERN] does the scan mode include a timestamp * @access: [DRIVER] ring access functions associated with the * implementation. - * @preenable: [DRIVER] function to run prior to marking ring enabled - * @postenable: [DRIVER] function to run after marking ring enabled - * @predisable: [DRIVER] function to run prior to marking ring disabled - * @postdisable: [DRIVER] function to run after marking ring disabled * @flags: [INTERN] file ops related flags including busy flag. **/ struct iio_ring_buffer { |