summaryrefslogtreecommitdiffstats
path: root/include/linux/iio/kfifo_buf.h
blob: 25eeac762e849d4825bdb0dad85d5e8fb9fcbf4d (plain)
1
2
3
4
5
6
7
8
9
10
11
#ifndef __LINUX_IIO_KFIFO_BUF_H__
#define __LINUX_IIO_KFIFO_BUF_H__

#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);

#endif
OpenPOWER on IntegriCloud