mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-22 22:14:51 +07:00
780103fef5
iio kfifo allocate/free gained their devm_ wrappers. Signed-off-by: Karol Wrona <k.wrona@samsung.com> Suggested-by: Jonathan Cameron <jic23@kernel.org> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
15 lines
381 B
C
15 lines
381 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(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
|