1/* SPDX-License-Identifier: GPL-2.0 */ 2#ifndef __LINUX_IIO_KFIFO_BUF_H__ 3#define __LINUX_IIO_KFIFO_BUF_H__ 4 5struct iio_buffer; 6struct device; 7 8struct iio_buffer *iio_kfifo_allocate(void); 9void iio_kfifo_free(struct iio_buffer *r); 10 11struct iio_buffer *devm_iio_kfifo_allocate(struct device *dev); 12void devm_iio_kfifo_free(struct device *dev, struct iio_buffer *r); 13 14#endif 15