1 /*
2  * Copyright 2014-2015 Analog Devices Inc.
3  *  Author: Lars-Peter Clausen <lars@metafoo.de>
4  *
5  * Licensed under the GPL-2 or later.
6  */
7 
8 #ifndef __IIO_DMAENGINE_H__
9 #define __IIO_DMAENGINE_H__
10 
11 struct iio_buffer;
12 struct device;
13 
14 struct iio_buffer *iio_dmaengine_buffer_alloc(struct device *dev,
15 	const char *channel);
16 void iio_dmaengine_buffer_free(struct iio_buffer *buffer);
17 
18 #endif
19