diff options
author | Jonathan Cameron <jic23@cam.ac.uk> | 2011-09-21 10:15:54 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-09-27 00:31:52 (GMT) |
commit | ec3afa40c648ed17eb2a83a4b7249deab3631f61 (patch) | |
tree | 1acd21ddd82be6df44d48d8a5b71cbcbef92f272 /drivers/staging/iio/accel/sca3000_ring.c | |
parent | 3b99fb7656a73d483b00fd4777646c00db16b040 (diff) | |
download | linux-ec3afa40c648ed17eb2a83a4b7249deab3631f61.tar.xz |
staging:iio: tree wide IIO_RING_TRIGGERED -> IIO_BUFFER_TRIGGERED
also, IIO_RING_HARDWARE_BUFFER -> IIO_BUFFER_HARDWARE
These aren't always rings so the naming should not imply that.
Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/iio/accel/sca3000_ring.c')
-rw-r--r-- | drivers/staging/iio/accel/sca3000_ring.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/iio/accel/sca3000_ring.c b/drivers/staging/iio/accel/sca3000_ring.c index 996b01e..2a83e8a 100644 --- a/drivers/staging/iio/accel/sca3000_ring.c +++ b/drivers/staging/iio/accel/sca3000_ring.c @@ -290,7 +290,7 @@ int sca3000_configure_ring(struct iio_dev *indio_dev) indio_dev->ring = sca3000_rb_allocate(indio_dev); if (indio_dev->ring == NULL) return -ENOMEM; - indio_dev->modes |= INDIO_RING_HARDWARE_BUFFER; + indio_dev->modes |= INDIO_BUFFER_HARDWARE; indio_dev->ring->access = &sca3000_ring_access_funcs; |