staging:iio:buffering drag some stray docs back to correct place.
authorJonathan Cameron <jic23@cam.ac.uk>
Tue, 30 Aug 2011 11:41:13 +0000 (12:41 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 6 Sep 2011 23:00:27 +0000 (16:00 -0700)
Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/iio/ring_generic.h

index a63a9cb81126486356ec4e660011789b2df228be..37ab4dbc0c84990a25f534dbc366b6a6cae1c730 100644 (file)
@@ -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 {