Oops. One trivial point here. Perhaps the commit message could make it clear that this is for the stub? Had me briefly confused. Either way fine with me. On 01/09/2012 04:02 PM, Manuel Stahl wrote: > Signed-off-by: Manuel Stahl <manuel.stahl@xxxxxxxxxxxxxxxxx> Acked-by: Jonathan Cameron <jic23@xxxxxxxxx> > --- > drivers/staging/iio/buffer.h | 4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/staging/iio/buffer.h b/drivers/staging/iio/buffer.h > index 44593b2..1a35006 100644 > --- a/drivers/staging/iio/buffer.h > +++ b/drivers/staging/iio/buffer.h > @@ -197,8 +197,8 @@ int iio_sw_buffer_preenable(struct iio_dev *indio_dev); > #else /* CONFIG_IIO_BUFFER */ > > static inline int iio_buffer_register(struct iio_dev *indio_dev, > - struct iio_chan_spec *channels, > - int num_channels) > + const struct iio_chan_spec *channels, > + int num_channels) > { > return 0; > } -- To unsubscribe from this list: send the line "unsubscribe linux-iio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html