Lars-Peter Clausen | 08d6005 | 2012-08-17 16:57:00 +0100 | [diff] [blame] | 1 | #ifndef __LINUX_IIO_KFIFO_BUF_H__ |
| 2 | #define __LINUX_IIO_KFIFO_BUF_H__ |
Jonathan Cameron | b174baf | 2011-02-11 13:09:10 +0000 | [diff] [blame] | 3 | |
| 4 | #include <linux/kfifo.h> |
Jonathan Cameron | 06458e2 | 2012-04-25 15:54:58 +0100 | [diff] [blame] | 5 | #include <linux/iio/iio.h> |
| 6 | #include <linux/iio/buffer.h> |
Jonathan Cameron | b174baf | 2011-02-11 13:09:10 +0000 | [diff] [blame] | 7 | |
Jonathan Cameron | 14555b1 | 2011-09-21 11:15:57 +0100 | [diff] [blame] | 8 | struct iio_buffer *iio_kfifo_allocate(struct iio_dev *indio_dev); |
| 9 | void iio_kfifo_free(struct iio_buffer *r); |
Jonathan Cameron | b174baf | 2011-02-11 13:09:10 +0000 | [diff] [blame] | 10 | |
Lars-Peter Clausen | 08d6005 | 2012-08-17 16:57:00 +0100 | [diff] [blame] | 11 | #endif |