summaryrefslogtreecommitdiffstats
path: root/drivers/iio/accel/st_accel.h
diff options
context:
space:
mode:
authorGiuseppe Barba <giuseppe.barba@st.com>2015-07-21 10:35:44 +0200
committerJonathan Cameron <jic23@kernel.org>2015-07-23 21:43:22 +0200
commitddc05fa286068a2d0cf87a47739b155806d46670 (patch)
tree46ae932116c52261f9d4b9df47c54c7e166a3357 /drivers/iio/accel/st_accel.h
parentiio: st_magn: Add irq trigger handling (diff)
downloadlinux-ddc05fa286068a2d0cf87a47739b155806d46670.tar.xz
linux-ddc05fa286068a2d0cf87a47739b155806d46670.zip
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.h')
-rw-r--r--drivers/iio/accel/st_accel.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iio/accel/st_accel.h b/drivers/iio/accel/st_accel.h
index aa1001931d0c..468f21fa2950 100644
--- a/drivers/iio/accel/st_accel.h
+++ b/drivers/iio/accel/st_accel.h
@@ -26,6 +26,7 @@
#define LSM303DLH_ACCEL_DEV_NAME "lsm303dlh_accel"
#define LSM303DLM_ACCEL_DEV_NAME "lsm303dlm_accel"
#define LSM330_ACCEL_DEV_NAME "lsm330_accel"
+#define LSM303AGR_ACCEL_DEV_NAME "lsm303agr_accel"
/**
* struct st_sensors_platform_data - default accel platform data