summaryrefslogtreecommitdiffstats
path: root/drivers/iio/accel/st_accel.h
diff options
context:
space:
mode:
authorLorenzo Bianconi <lorenzo.bianconi83@gmail.com>2016-10-25 23:09:03 +0200
committerJonathan Cameron <jic23@kernel.org>2016-11-01 19:50:02 +0100
commitdcdb0a78cab39efbfa00f005fd2691a07335f41e (patch)
tree90e9bdd65864ea14fb626ff4860a7cdd8c07e3c8 /drivers/iio/accel/st_accel.h
parentiio: si7020: Add devicetree support and trivial bindings (diff)
downloadlinux-dcdb0a78cab39efbfa00f005fd2691a07335f41e.tar.xz
linux-dcdb0a78cab39efbfa00f005fd2691a07335f41e.zip
iio: accel: st_accel: add support to lng2dm
add support to STMicroelectronics LNG2DM accelerometer to st_accel framework Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@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 f8dfdb690563..7c231687109a 100644
--- a/drivers/iio/accel/st_accel.h
+++ b/drivers/iio/accel/st_accel.h
@@ -30,6 +30,7 @@
#define LSM303AGR_ACCEL_DEV_NAME "lsm303agr_accel"
#define LIS2DH12_ACCEL_DEV_NAME "lis2dh12_accel"
#define LIS3L02DQ_ACCEL_DEV_NAME "lis3l02dq"
+#define LNG2DM_ACCEL_DEV_NAME "lng2dm"
/**
* struct st_sensors_platform_data - default accel platform data