blob: 25eeac762e849d4825bdb0dad85d5e8fb9fcbf4d [file] [log] [blame]
Lars-Peter Clausen08d60052012-08-17 16:57:00 +01001#ifndef __LINUX_IIO_KFIFO_BUF_H__
2#define __LINUX_IIO_KFIFO_BUF_H__
Jonathan Cameronb174baf2011-02-11 13:09:10 +00003
4#include <linux/kfifo.h>
Jonathan Cameron06458e22012-04-25 15:54:58 +01005#include <linux/iio/iio.h>
6#include <linux/iio/buffer.h>
Jonathan Cameronb174baf2011-02-11 13:09:10 +00007
Jonathan Cameron14555b12011-09-21 11:15:57 +01008struct iio_buffer *iio_kfifo_allocate(struct iio_dev *indio_dev);
9void iio_kfifo_free(struct iio_buffer *r);
Jonathan Cameronb174baf2011-02-11 13:09:10 +000010
Lars-Peter Clausen08d60052012-08-17 16:57:00 +010011#endif