diff options
author | Giuseppe Barba <giuseppe.barba@st.com> | 2015-07-21 11:35:44 +0300 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2015-07-23 22:43:22 +0300 |
commit | ddc05fa286068a2d0cf87a47739b155806d46670 (patch) | |
tree | 46ae932116c52261f9d4b9df47c54c7e166a3357 /drivers/iio/accel/st_accel_spi.c | |
parent | 74f5683f35fe6feae33b96815c1d40f13468d614 (diff) | |
download | linux-ddc05fa286068a2d0cf87a47739b155806d46670.tar.xz |
iio: st-accel: add support for lsm303agr accelerometer
This adds support for the lsm303agr accelerometer.
Signed-off-by: Giuseppe Barba <giuseppe.barba@st.com>
Acked-by: Denis Ciocca <denis.ciocca@st.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/accel/st_accel_spi.c')
-rw-r--r-- | drivers/iio/accel/st_accel_spi.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iio/accel/st_accel_spi.c b/drivers/iio/accel/st_accel_spi.c index 12ec29389e4b..54b61a3961c3 100644 --- a/drivers/iio/accel/st_accel_spi.c +++ b/drivers/iio/accel/st_accel_spi.c @@ -57,6 +57,7 @@ static const struct spi_device_id st_accel_id_table[] = { { LSM303DL_ACCEL_DEV_NAME }, { LSM303DLM_ACCEL_DEV_NAME }, { LSM330_ACCEL_DEV_NAME }, + { LSM303AGR_ACCEL_DEV_NAME }, {}, }; MODULE_DEVICE_TABLE(spi, st_accel_id_table); |