summaryrefslogtreecommitdiffstats
path: root/drivers/iio
diff options
context:
space:
mode:
authorCrestez Dan Leonard <leonard.crestez@intel.com>2016-04-20 15:15:12 +0200
committerJonathan Cameron <jic23@kernel.org>2016-04-25 21:19:29 +0200
commitbf1eb91274157ac521fd6f3712dac8be90bddca7 (patch)
tree357443b7e39f0703504a63ae755315c6ba816fba /drivers/iio
parentiio: inv_mpu6050: Check WHO_AM_I register on probe (diff)
downloadlinux-bf1eb91274157ac521fd6f3712dac8be90bddca7.tar.xz
linux-bf1eb91274157ac521fd6f3712dac8be90bddca7.zip
iio: inv_mpu6050: Add spi_device_id for INV_MPU6500
Signed-off-by: Crestez Dan Leonard <leonard.crestez@intel.com> Acked-by: Ge Gao <ggao@invensense.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio')
-rw-r--r--drivers/iio/imu/inv_mpu6050/inv_mpu_spi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iio/imu/inv_mpu6050/inv_mpu_spi.c b/drivers/iio/imu/inv_mpu6050/inv_mpu_spi.c
index 3972a4625127..a0f8df239933 100644
--- a/drivers/iio/imu/inv_mpu6050/inv_mpu_spi.c
+++ b/drivers/iio/imu/inv_mpu6050/inv_mpu_spi.c
@@ -80,6 +80,7 @@ static int inv_mpu_remove(struct spi_device *spi)
*/
static const struct spi_device_id inv_mpu_id[] = {
{"mpu6000", INV_MPU6000},
+ {"mpu6500", INV_MPU6500},
{}
};