diff options
author | Giuseppe Barba <giuseppe.barba@st.com> | 2015-07-21 11:35:45 +0300 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2015-07-23 22:43:27 +0300 |
commit | 1e9676a8474b657b6a793f0abff2205783a1ce6f (patch) | |
tree | a39d144d3813445a34e9e3827b7ae498be07795f /drivers/iio/magnetometer/st_magn_spi.c | |
parent | ddc05fa286068a2d0cf87a47739b155806d46670 (diff) | |
download | linux-1e9676a8474b657b6a793f0abff2205783a1ce6f.tar.xz |
iio: st-magn: add support for lsm303agr magnetometer
This adds support for the lsm303agr magnetometer.
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/magnetometer/st_magn_spi.c')
-rw-r--r-- | drivers/iio/magnetometer/st_magn_spi.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iio/magnetometer/st_magn_spi.c b/drivers/iio/magnetometer/st_magn_spi.c index 7adacf160146..0abca2c6afa6 100644 --- a/drivers/iio/magnetometer/st_magn_spi.c +++ b/drivers/iio/magnetometer/st_magn_spi.c @@ -51,6 +51,7 @@ static const struct spi_device_id st_magn_id_table[] = { { LSM303DLHC_MAGN_DEV_NAME }, { LSM303DLM_MAGN_DEV_NAME }, { LIS3MDL_MAGN_DEV_NAME }, + { LSM303AGR_MAGN_DEV_NAME }, {}, }; MODULE_DEVICE_TABLE(spi, st_magn_id_table); |