aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Cameron <jic23@cam.ac.uk>2009-12-07 10:19:17 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2009-12-11 15:23:23 -0500
commit032fec3169b898948dbb76c681d9f1c0f6858c22 (patch)
tree906adc34f5c5f26593360a5cfa72e73f7a602b1f
parentdbd5d239e4b24c17ec50bef38aec9bba0e54e1ee (diff)
Staging: IIO: add selection of IIO_SW_RING to LIS3L02DQ as needed
Here I've kept the selection of IIO_SW_RING separate from IIO_TRIGGER as it will go away fairly shortly when the ring buffer type becomes configurable on a per device basis, whereas the IIO_TRIGGER select will remain. Whether to retain the option to remove the support for ring buffers entirely is one for after that support is in place. Reported-by: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk> Acked-by: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r--drivers/staging/iio/accel/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/iio/accel/Kconfig b/drivers/staging/iio/accel/Kconfig
index 40446636d79b..3d3c3339dbc7 100644
--- a/drivers/staging/iio/accel/Kconfig
+++ b/drivers/staging/iio/accel/Kconfig
@@ -14,6 +14,7 @@ config LIS3L02DQ
14 tristate "ST Microelectronics LIS3L02DQ Accelerometer Driver" 14 tristate "ST Microelectronics LIS3L02DQ Accelerometer Driver"
15 depends on SPI 15 depends on SPI
16 select IIO_TRIGGER if IIO_RING_BUFFER 16 select IIO_TRIGGER if IIO_RING_BUFFER
17 select IIO_SW_RING if IIO_RING_BUFFER
17 help 18 help
18 Say yes here to build SPI support for the ST microelectronics 19 Say yes here to build SPI support for the ST microelectronics
19 accelerometer. The driver supplies direct access via sysfs files 20 accelerometer. The driver supplies direct access via sysfs files