From 7026ea4b52cf23a76507b5bddc92f394603c689e Mon Sep 17 00:00:00 2001 From: Jonathan Cameron Date: Tue, 18 Aug 2009 18:06:24 +0100 Subject: Staging: IIO: Add generic ring buffer support to the IIO core This provides a unified interface for hardware and software ring buffers. Changes since V2: * Moved to a more consistent structure. Now the ring buffer has an associated struct device which is a child of the relevant iio_dev. This in turn has two children, one for the event interface and one for the access interface. These two interfaces are now managed via cdev structures. * Numerous minor cleanups Signed-off-by: Jonathan Cameron Signed-off-by: Greg Kroah-Hartman --- drivers/staging/iio/Kconfig | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'drivers/staging/iio/Kconfig') diff --git a/drivers/staging/iio/Kconfig b/drivers/staging/iio/Kconfig index 309eb38ba391..e554a9e0bf7e 100644 --- a/drivers/staging/iio/Kconfig +++ b/drivers/staging/iio/Kconfig @@ -11,6 +11,12 @@ menuconfig IIO Documentation/industrialio for more information. if IIO +config IIO_RING_BUFFER + bool "Enable ring buffer support within IIO" + help + Provide core support for various ring buffer based data + acquisition methods. + source "drivers/staging/iio/accel/Kconfig" source "drivers/staging/iio/adc/Kconfig" source "drivers/staging/iio/light/Kconfig" -- cgit v1.2.3