Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
2 | #ifndef __LINUX_IIO_KFIFO_BUF_H__ | ||||
3 | #define __LINUX_IIO_KFIFO_BUF_H__ | ||||
4 | |||||
5 | struct iio_buffer; | ||||
6 | struct device; | ||||
7 | |||||
8 | struct iio_buffer *iio_kfifo_allocate(void); | ||||
9 | void iio_kfifo_free(struct iio_buffer *r); | ||||
10 | |||||
11 | struct iio_buffer *devm_iio_kfifo_allocate(struct device *dev); | ||||
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 12 | |
13 | #endif |