Commit | Line | Data |
---|---|---|
08d6005c LPC |
1 | #ifndef __LINUX_IIO_KFIFO_BUF_H__ |
2 | #define __LINUX_IIO_KFIFO_BUF_H__ | |
b174baf4 JC |
3 | |
4 | #include <linux/kfifo.h> | |
06458e27 JC |
5 | #include <linux/iio/iio.h> |
6 | #include <linux/iio/buffer.h> | |
b174baf4 | 7 | |
7ab374a0 | 8 | struct iio_buffer *iio_kfifo_allocate(void); |
14555b14 | 9 | void iio_kfifo_free(struct iio_buffer *r); |
b174baf4 | 10 | |
780103fe KW |
11 | struct iio_buffer *devm_iio_kfifo_allocate(struct device *dev); |
12 | void devm_iio_kfifo_free(struct device *dev, struct iio_buffer *r); | |
13 | ||
08d6005c | 14 | #endif |