mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-09 15:29:16 +00:00
08d6005c03
Add include guards to the IIO headers where they are missing. This avoids compile errors due to redefined types if a file is included more than once. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
12 lines
269 B
C
12 lines
269 B
C
#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
|