diff options
author | Giuseppe Barba <giuseppe.barba@st.com> | 2015-07-21 10:35:45 +0200 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2015-07-23 20:43:27 +0100 |
commit | 1e9676a8474b657b6a793f0abff2205783a1ce6f (patch) | |
tree | a39d144d3813445a34e9e3827b7ae498be07795f /drivers/iio/magnetometer/st_magn.h | |
parent | ddc05fa286068a2d0cf87a47739b155806d46670 (diff) | |
download | op-kernel-dev-1e9676a8474b657b6a793f0abff2205783a1ce6f.zip op-kernel-dev-1e9676a8474b657b6a793f0abff2205783a1ce6f.tar.gz |
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.h')
-rw-r--r-- | drivers/iio/magnetometer/st_magn.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iio/magnetometer/st_magn.h b/drivers/iio/magnetometer/st_magn.h index 60441023..06a4d9c 100644 --- a/drivers/iio/magnetometer/st_magn.h +++ b/drivers/iio/magnetometer/st_magn.h @@ -18,6 +18,7 @@ #define LSM303DLHC_MAGN_DEV_NAME "lsm303dlhc_magn" #define LSM303DLM_MAGN_DEV_NAME "lsm303dlm_magn" #define LIS3MDL_MAGN_DEV_NAME "lis3mdl" +#define LSM303AGR_MAGN_DEV_NAME "lsm303agr_magn" int st_magn_common_probe(struct iio_dev *indio_dev); void st_magn_common_remove(struct iio_dev *indio_dev); |