diff options
author | Jonathan Cameron <jic23@kernel.org> | 2012-06-30 15:06:00 -0400 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2012-11-10 05:17:27 -0500 |
commit | 92d1079b281f89f1c65c6aece3cfab4fb422c797 (patch) | |
tree | e593bbfae9a9fdaa9a1cc8500f99fb1064f2050c /drivers/iio/Kconfig | |
parent | 0464415dd21785aa8e8b12dbc939fcb5ca52f464 (diff) |
staging:iio: add a callback buffer for in kernel push interface
This callback buffer is meant to be opaque to users, but basically
adds a very simple pass through buffer to which data may be
pushed when it is inserted into the buffer list.
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/Kconfig')
-rw-r--r-- | drivers/iio/Kconfig | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/iio/Kconfig b/drivers/iio/Kconfig index fc937aca71fb..65ae734c607d 100644 --- a/drivers/iio/Kconfig +++ b/drivers/iio/Kconfig | |||
@@ -20,6 +20,12 @@ config IIO_BUFFER | |||
20 | 20 | ||
21 | if IIO_BUFFER | 21 | if IIO_BUFFER |
22 | 22 | ||
23 | config IIO_BUFFER_CB | ||
24 | boolean "IIO callback buffer used for push in-kernel interfaces" | ||
25 | help | ||
26 | Should be selected by any drivers that do-inkernel push | ||
27 | usage. That is, those where the data is pushed to the consumer. | ||
28 | |||
23 | config IIO_KFIFO_BUF | 29 | config IIO_KFIFO_BUF |
24 | select IIO_TRIGGER | 30 | select IIO_TRIGGER |
25 | tristate "Industrial I/O buffering based on kfifo" | 31 | tristate "Industrial I/O buffering based on kfifo" |