summaryrefslogtreecommitdiff
path: root/drivers/iio/gyro/st_gyro.h
diff options
context:
space:
mode:
authorCrestez Dan Leonard <leonard.crestez@intel.com>2016-04-19 15:02:11 +0300
committerJonathan Cameron <jic23@kernel.org>2016-04-24 00:47:18 +0300
commit41c128cb25cee72be66397fae8ceb8dc0c2c6984 (patch)
tree565790d53c48d521f970c7ed6c32fe1784f7a3de /drivers/iio/gyro/st_gyro.h
parentf21122593d99c7e051891da1b148c771b7d56e07 (diff)
downloadlinux-41c128cb25cee72be66397fae8ceb8dc0c2c6984.tar.xz
iio: st_gyro: Add lsm9ds0-gyro support
This device has an identical interface to other supported sensors and the patch only adds IDs. Signed-off-by: Crestez Dan Leonard <leonard.crestez@intel.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/gyro/st_gyro.h')
-rw-r--r--drivers/iio/gyro/st_gyro.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iio/gyro/st_gyro.h b/drivers/iio/gyro/st_gyro.h
index 5353d6328c54..a5c5c4e29add 100644
--- a/drivers/iio/gyro/st_gyro.h
+++ b/drivers/iio/gyro/st_gyro.h
@@ -21,6 +21,7 @@
#define L3GD20_GYRO_DEV_NAME "l3gd20"
#define L3G4IS_GYRO_DEV_NAME "l3g4is_ui"
#define LSM330_GYRO_DEV_NAME "lsm330_gyro"
+#define LSM9DS0_GYRO_DEV_NAME "lsm9ds0_gyro"
/**
* struct st_sensors_platform_data - gyro platform data