summaryrefslogtreecommitdiffstats
path: root/include/linux/iio/kfifo_buf.h
diff options
context:
space:
mode:
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);
+