diff options
author | Jonathan Cameron <jic23@cam.ac.uk> | 2011-09-21 14:15:54 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-09-27 04:31:52 +0400 |
commit | ec3afa40c648ed17eb2a83a4b7249deab3631f61 (patch) | |
tree | 1acd21ddd82be6df44d48d8a5b71cbcbef92f272 /drivers/staging/iio/adc/ad7192.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/adc/ad7192.c')
-rw-r--r-- | drivers/staging/iio/adc/ad7192.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/iio/adc/ad7192.c b/drivers/staging/iio/adc/ad7192.c index 3f4e911c4588..4b5649085a25 100644 --- a/drivers/staging/iio/adc/ad7192.c +++ b/drivers/staging/iio/adc/ad7192.c @@ -595,7 +595,7 @@ static int ad7192_register_ring_funcs_and_init(struct iio_dev *indio_dev) indio_dev->ring->setup_ops = &ad7192_ring_setup_ops; /* Flag that polled ring buffering is possible */ - indio_dev->modes |= INDIO_RING_TRIGGERED; + indio_dev->modes |= INDIO_BUFFER_TRIGGERED; return 0; error_deallocate_sw_rb: |