Merge branch 'topic/for-4.12' into for-next
[sfrench/cifs-2.6.git] / include / linux / iio / kfifo_buf.h
1 #ifndef __LINUX_IIO_KFIFO_BUF_H__
2 #define __LINUX_IIO_KFIFO_BUF_H__
3
4 struct iio_buffer;
5 struct device;
6
7 struct iio_buffer *iio_kfifo_allocate(void);
8 void iio_kfifo_free(struct iio_buffer *r);
9
10 struct iio_buffer *devm_iio_kfifo_allocate(struct device *dev);
11 void devm_iio_kfifo_free(struct device *dev, struct iio_buffer *r);
12
13 #endif