On 04/18/2012 03:13 PM, Jonathan Cameron wrote: > This will be needed when multiple buffer support is added. > > Signed-off-by: Jonathan Cameron <jic23@xxxxxxxxxx> > --- > [...] > --- a/drivers/staging/iio/adc/ad7887_ring.c > +++ b/drivers/staging/iio/adc/ad7887_ring.c > @@ -92,7 +92,7 @@ static irqreturn_t ad7887_trigger_handler(int irq, void *p) > time_ns = iio_get_time_ns(); > > memcpy(buf, st->data, bytes); > - if (ring->scan_timestamp) > + if (indio_dev->scan_timestamp) drivers/staging/iio/adc/ad7887_ring.c: In function ‘ad7887_trigger_handler’: drivers/staging/iio/adc/ad7887_ring.c:75: warning: unused variable ‘ring’ > memcpy(buf + indio_dev->scan_bytes - sizeof(s64), > &time_ns, sizeof(time_ns)); > -- 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