diff options
author | Crestez Dan Leonard <leonard.crestez@intel.com> | 2016-04-19 15:02:11 +0300 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2016-04-24 00:47:18 +0300 |
commit | 41c128cb25cee72be66397fae8ceb8dc0c2c6984 (patch) | |
tree | 565790d53c48d521f970c7ed6c32fe1784f7a3de /drivers/iio/gyro/st_gyro_spi.c | |
parent | f21122593d99c7e051891da1b148c771b7d56e07 (diff) | |
download | linux-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_spi.c')
-rw-r--r-- | drivers/iio/gyro/st_gyro_spi.c | 1 |
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); |