diff options
Diffstat (limited to 'drivers/staging/iio/accel/lis3l02dq.h')
-rw-r--r-- | drivers/staging/iio/accel/lis3l02dq.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/staging/iio/accel/lis3l02dq.h b/drivers/staging/iio/accel/lis3l02dq.h index 44669ee..6e73055 100644 --- a/drivers/staging/iio/accel/lis3l02dq.h +++ b/drivers/staging/iio/accel/lis3l02dq.h @@ -151,6 +151,7 @@ Form of high byte dependant on justification set in ctrl reg */ * @helper: data and func pointer allowing generic functions * @us: actual spi_device * @work_thresh: bh for threshold events + * @thresh_timestamp: timestamp for threshold interrupts. * @inter: used to check if new interrupt has been triggered * @trig: data ready trigger registered with iio * @tx: transmit buffer @@ -161,6 +162,7 @@ struct lis3l02dq_state { struct iio_sw_ring_helper_state help; struct spi_device *us; struct work_struct work_thresh; + s64 thresh_timestamp; bool inter; struct iio_trigger *trig; u8 *tx; |