summaryrefslogtreecommitdiff
path: root/drivers/iio/magnetometer/st_magn.h
diff options
context:
space:
mode:
authorGiuseppe Barba <giuseppe.barba@st.com>2015-07-21 11:35:45 +0300
committerJonathan Cameron <jic23@kernel.org>2015-07-23 22:43:27 +0300
commit1e9676a8474b657b6a793f0abff2205783a1ce6f (patch)
treea39d144d3813445a34e9e3827b7ae498be07795f /drivers/iio/magnetometer/st_magn.h
parentddc05fa286068a2d0cf87a47739b155806d46670 (diff)
downloadlinux-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.h')
-rw-r--r--drivers/iio/magnetometer/st_magn.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iio/magnetometer/st_magn.h b/drivers/iio/magnetometer/st_magn.h
index 604410236d99..06a4d9c35581 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);