License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[linux-2.6/btrfs-unstable.git] / include / linux / iio / kfifo_buf.h
blob764659e01b68cdf2f865f0cd4aa519f698943d56
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __LINUX_IIO_KFIFO_BUF_H__
3 #define __LINUX_IIO_KFIFO_BUF_H__
5 struct iio_buffer;
6 struct device;
8 struct iio_buffer *iio_kfifo_allocate(void);
9 void iio_kfifo_free(struct iio_buffer *r);
11 struct iio_buffer *devm_iio_kfifo_allocate(struct device *dev);
12 void devm_iio_kfifo_free(struct device *dev, struct iio_buffer *r);
14 #endif