summaryrefslogtreecommitdiffstats
path: root/drivers/iio/gyro/st_gyro_spi.c
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-23 22:47:18 +0100
commit41c128cb25cee72be66397fae8ceb8dc0c2c6984 (patch)
tree565790d53c48d521f970c7ed6c32fe1784f7a3de /drivers/iio/gyro/st_gyro_spi.c
parentf21122593d99c7e051891da1b148c771b7d56e07 (diff)
downloadlinux-stable-41c128cb25cee72be66397fae8ceb8dc0c2c6984.tar.gz
linux-stable-41c128cb25cee72be66397fae8ceb8dc0c2c6984.tar.bz2
linux-stable-41c128cb25cee72be66397fae8ceb8dc0c2c6984.zip
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_spi.c')
-rw-r--r--drivers/iio/gyro/st_gyro_spi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iio/gyro/st_gyro_spi.c b/drivers/iio/gyro/st_gyro_spi.c
index d2b7a5fa344c..fbf2faed501c 100644
--- a/drivers/iio/gyro/st_gyro_spi.c
+++ b/drivers/iio/gyro/st_gyro_spi.c
@@ -54,6 +54,7 @@ static const struct spi_device_id st_gyro_id_table[] = {
{ L3GD20_GYRO_DEV_NAME },
{ L3G4IS_GYRO_DEV_NAME },
{ LSM330_GYRO_DEV_NAME },
+ { LSM9DS0_GYRO_DEV_NAME },
{},
};
MODULE_DEVICE_TABLE(spi, st_gyro_id_table);