> @@ -268,20 +282,21 @@ static void __devm_iio_dmaengine_buffer_free(void *buffer) > * It also appends the INDIO_BUFFER_HARDWARE mode to the supported modes of the > * IIO device. > */ > -int devm_iio_dmaengine_buffer_setup(struct device *dev, > - struct iio_dev *indio_dev, > - const char *channel) > +int devm_iio_dmaengine_buffer_setup_ext(struct device *dev, > + struct iio_dev *indio_dev, > + const char *channel, > + enum iio_buffer_direction dir) Missing updates to the docs immediately above. I fixed that up. > { > struct iio_buffer *buffer; > > - buffer = iio_dmaengine_buffer_setup(dev, indio_dev, channel); > + buffer = iio_dmaengine_buffer_setup_ext(dev, indio_dev, channel, dir); > if (IS_ERR(buffer)) > return PTR_ERR(buffer); > > return devm_add_action_or_reset(dev, __devm_iio_dmaengine_buffer_free, > buffer); > } > -EXPORT_SYMBOL_NS_GPL(devm_iio_dmaengine_buffer_setup, IIO_DMAENGINE_BUFFER);