diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2012-06-18 12:33:48 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-06-18 20:26:09 -0400 |
commit | 23f2d735a932c7833d2d00da5e3ecdf4a6836210 (patch) | |
tree | 2e0d4da782473ccd226fc6f4221b2c0bc92ba411 /drivers/iio/Makefile | |
parent | f5b81ddd12da71bd00b2963203c23ff929e0c182 (diff) |
iio: Add helper function for initializing triggered buffers
Add a helper function for executing the common tasks which are usually involved
in setting up a simple software ringbuffer. It will allocate the buffer,
allocate the pollfunc and register the buffer.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Acked-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/iio/Makefile')
-rw-r--r-- | drivers/iio/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iio/Makefile b/drivers/iio/Makefile index c38fa2a40af2..34309abb7979 100644 --- a/drivers/iio/Makefile +++ b/drivers/iio/Makefile | |||
@@ -7,6 +7,7 @@ industrialio-y := industrialio-core.o industrialio-event.o inkern.o | |||
7 | industrialio-$(CONFIG_IIO_BUFFER) += industrialio-buffer.o | 7 | industrialio-$(CONFIG_IIO_BUFFER) += industrialio-buffer.o |
8 | industrialio-$(CONFIG_IIO_TRIGGER) += industrialio-trigger.o | 8 | industrialio-$(CONFIG_IIO_TRIGGER) += industrialio-trigger.o |
9 | 9 | ||
10 | obj-$(CONFIG_IIO_TRIGGERED_BUFFER) += industrialio-triggered-buffer.o | ||
10 | obj-$(CONFIG_IIO_KFIFO_BUF) += kfifo_buf.o | 11 | obj-$(CONFIG_IIO_KFIFO_BUF) += kfifo_buf.o |
11 | 12 | ||
12 | obj-y += adc/ | 13 | obj-y += adc/ |