mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-04-28 09:04:41 +00:00
As a precursor to splitting buffer.h, lets make sure all drivers include the relevant headers rather than relying on picking them up from kfifo_buf.h. Signed-off-by: Jonathan Cameron <jic23@kernel.org> Reviewed-by: Lars-Peter Clausen <lars@metafoo.de>
13 lines
333 B
C
13 lines
333 B
C
#ifndef __LINUX_IIO_KFIFO_BUF_H__
|
|
#define __LINUX_IIO_KFIFO_BUF_H__
|
|
|
|
struct iio_buffer;
|
|
struct device;
|
|
|
|
struct iio_buffer *iio_kfifo_allocate(void);
|
|
void iio_kfifo_free(struct iio_buffer *r);
|
|
|
|
struct iio_buffer *devm_iio_kfifo_allocate(struct device *dev);
|
|
void devm_iio_kfifo_free(struct device *dev, struct iio_buffer *r);
|
|
|
|
#endif
|