summaryrefslogtreecommitdiff
path: root/drivers/iio/imu/st_lsm6ds3/st_lsm6ds3.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/imu/st_lsm6ds3/st_lsm6ds3.h')
-rw-r--r--drivers/iio/imu/st_lsm6ds3/st_lsm6ds3.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/iio/imu/st_lsm6ds3/st_lsm6ds3.h b/drivers/iio/imu/st_lsm6ds3/st_lsm6ds3.h
index 4c6fc426fc4..ba971628496 100644
--- a/drivers/iio/imu/st_lsm6ds3/st_lsm6ds3.h
+++ b/drivers/iio/imu/st_lsm6ds3/st_lsm6ds3.h
@@ -137,14 +137,12 @@ struct lsm6ds3_data {
int wake_lock_initialized;
struct wake_lock wlock;
struct wake_lock tap_wlock;
-#define RESUME_NORMAL 1
-#define RESUME_FROM_INACTIVE 3
u8 first_irq_from_resume;
u8 reg_read;
#define SIXD_MASK_VALID_BITS (0x3f)
u8 sixd_mask;
u8 int1_save;
- int inactive_wait;
+
u8 *fifo_data;
u8 sensors_enabled;
u8 gyro_selftest_status;
@@ -214,7 +212,7 @@ struct lsm6ds3_sensor_data {
u8 sindex;
u8 *buffer_data;
};
-void st_lsm6ds3_set_inactive_detection(struct lsm6ds3_data *cdata, int enable);
+
int st_lsm6ds3_write_data_with_mask(struct lsm6ds3_data *cdata,
u8 reg_addr, u8 mask, u8 data, bool b_lock);