diff options
author | Lorenzo Bianconi <lorenzo.bianconi83@gmail.com> | 2017-07-08 13:00:16 +0200 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2017-07-09 20:16:52 +0200 |
commit | 6011208d8ad794e9c30e9e4c95669c977b1e274b (patch) | |
tree | 428c275a555981f2c56d00b0962122d270e8e579 /drivers/iio/accel/st_accel.h | |
parent | iio:adc:at91-sama5d2: make array startup_lookup static to reduce code size (diff) | |
download | linux-6011208d8ad794e9c30e9e4c95669c977b1e274b.tar.xz linux-6011208d8ad794e9c30e9e4c95669c977b1e274b.zip |
iio: accel: st_accel_i2c: fix i2c_device_id table
Add H3LIS331DL, LIS331DL and LIS3LV02DL entries in st_accel_id_table
Fixes: 1e52fefc9b0c (iio: accel: Add support for the h3lis331dl accel)
Fixes: bbf5f037fad4 (iio: st_accel: support the LIS331DL sensor)
Fixes: 3acddf74f807 (iio: st-sensors: add support for lis3lv02d accel)
Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@st.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/accel/st_accel.h')
-rw-r--r-- | drivers/iio/accel/st_accel.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/iio/accel/st_accel.h b/drivers/iio/accel/st_accel.h index 3ad44ce7ae82..fe3864f0f146 100644 --- a/drivers/iio/accel/st_accel.h +++ b/drivers/iio/accel/st_accel.h @@ -29,6 +29,9 @@ enum st_accel_type { LIS2DH12, LIS3L02DQ, LNG2DM, + H3LIS331DL, + LIS331DL, + LIS3LV02DL, ST_ACCEL_MAX, }; |