On 08/10/16 17:39, Jonathan Cameron wrote: > Signed-off-by: Jonathan Cameron <jic23@xxxxxxxxxx> Applied to the togreg branch of iio.git and pushed out as testing for the autobuilders to play with it. Jonathan > --- > drivers/staging/iio/accel/sca3000_ring.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/staging/iio/accel/sca3000_ring.c b/drivers/staging/iio/accel/sca3000_ring.c > index d1cb9b9cf22b..e5de52d05a5c 100644 > --- a/drivers/staging/iio/accel/sca3000_ring.c > +++ b/drivers/staging/iio/accel/sca3000_ring.c > @@ -270,8 +270,8 @@ int sca3000_configure_ring(struct iio_dev *indio_dev) > return -ENOMEM; > indio_dev->modes |= INDIO_BUFFER_HARDWARE; > > - indio_dev->buffer->access = &sca3000_ring_access_funcs; > > + buffer->access = &sca3000_ring_access_funcs; > iio_device_attach_buffer(indio_dev, buffer); > > 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