mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-03 17:40:04 +00:00
![Jonathan Cameron](/assets/img/avatar_default.png)
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
|