summaryrefslogtreecommitdiffstats
path: root/include/linux/iio/kfifo_buf.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--include/linux/iio/kfifo_buf.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/linux/iio/kfifo_buf.h b/include/linux/iio/kfifo_buf.h
new file mode 100644
index 000000000..1fc1efa77
--- /dev/null
+++ b/include/linux/iio/kfifo_buf.h
@@ -0,0 +1,13 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#ifndef __LINUX_IIO_KFIFO_BUF_H__
+#define __LINUX_IIO_KFIFO_BUF_H__
+
+struct iio_buffer;
+struct device;
+
+struct iio_buffer *iio_kfifo_allocate(void);
+void iio_kfifo_free(struct iio_buffer *r);
+
+struct iio_buffer *devm_iio_kfifo_allocate(struct device *dev);
+
+#endif