summaryrefslogtreecommitdiff
path: root/drivers/iio/accel/st_accel.h
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2015-03-18 10:52:06 +0100
committerJonathan Cameron <jic23@kernel.org>2015-03-28 10:55:36 +0000
commit3acddf74f807778f0593ab4aaf26189c93e55ff1 (patch)
treec0472480a57867e2bcc982810a65ca49dca24892 /drivers/iio/accel/st_accel.h
parent153fe946412b5da1a8808f79d4f7f4ebfa7586b0 (diff)
iio: st-sensors: add support for lis3lv02d accelerometer
This adds support for the LIS3LV02 accelerometer found in the ST Microelectronics Nomadik board series. Cc: devicetree@vger.kernel.org Cc: Denis CIOCCA <denis.ciocca@st.com> Acked-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> 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 fa9646034305..7ee9724b1428 100644
--- a/drivers/iio/accel/st_accel.h
+++ b/drivers/iio/accel/st_accel.h
@@ -14,6 +14,7 @@
#include <linux/types.h>
#include <linux/iio/common/st_sensors.h>
+#define LIS3LV02DL_ACCEL_DEV_NAME "lis3lv02dl_accel"
#define LSM303DLHC_ACCEL_DEV_NAME "lsm303dlhc_accel"
#define LIS3DH_ACCEL_DEV_NAME "lis3dh"
#define LSM330D_ACCEL_DEV_NAME "lsm330d_accel"