summaryrefslogtreecommitdiff
path: root/include/linux/iio/kfifo_buf.h
diff options
context:
space:
mode:
authorJonathan Cameron <jic23@kernel.org>2012-04-25 15:54:58 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-04-25 11:01:43 -0700
commit06458e277eac2b8761b0a04d3c808d57be281a2e (patch)
treecba55bcbdd101a3ab84bfe27fccdb9efd18d757e /include/linux/iio/kfifo_buf.h
parent68284a12923f9f8f2741efca10c045e179f2e753 (diff)
IIO: Move core headers to include/linux/iio
Step 1 in moving the IIO core out of staging. Signed-off-by: Jonathan Cameron <jic23@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/iio/kfifo_buf.h')
-rw-r--r--include/linux/iio/kfifo_buf.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/iio/kfifo_buf.h b/include/linux/iio/kfifo_buf.h
new file mode 100644
index 000000000000..014d5a13b32b
--- /dev/null
+++ b/include/linux/iio/kfifo_buf.h
@@ -0,0 +1,8 @@
+
+#include <linux/kfifo.h>
+#include <linux/iio/iio.h>
+#include <linux/iio/buffer.h>
+
+struct iio_buffer *iio_kfifo_allocate(struct iio_dev *indio_dev);
+void iio_kfifo_free(struct iio_buffer *r);
+