mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-25 21:55:41 +07:00
8abd5ba539
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>
14 lines
333 B
C
14 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
|