summaryrefslogtreecommitdiffstats
path: root/drivers/iio/imu/inv_mpu6050/Makefile
diff options
context:
space:
mode:
authorAdriana Reus2016-02-12 12:44:45 +0100
committerJonathan Cameron2016-02-13 21:54:07 +0100
commitfd64df16f40e367c393bf372fb67017301d701c2 (patch)
tree489cc8466452a86da107f7832e5b79b3b62c050b /drivers/iio/imu/inv_mpu6050/Makefile
parentiio: imu: inv_mpu6050: Separate driver into core and i2c functionality. (diff)
downloadkernel-qcow2-linux-fd64df16f40e367c393bf372fb67017301d701c2.tar.gz
kernel-qcow2-linux-fd64df16f40e367c393bf372fb67017301d701c2.tar.xz
kernel-qcow2-linux-fd64df16f40e367c393bf372fb67017301d701c2.zip
iio: imu: inv_mpu6050: Add SPI support for MPU6000
The only difference between the MPU6000 and the MPU6050 is that the first also supports SPI. Add SPI driver for this chip. Signed-off-by: Adriana Reus <adriana.reus@intel.com> Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/imu/inv_mpu6050/Makefile')
-rw-r--r--drivers/iio/imu/inv_mpu6050/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/iio/imu/inv_mpu6050/Makefile b/drivers/iio/imu/inv_mpu6050/Makefile
index ca4941d32e67..734af5e6cef9 100644
--- a/drivers/iio/imu/inv_mpu6050/Makefile
+++ b/drivers/iio/imu/inv_mpu6050/Makefile
@@ -7,3 +7,6 @@ inv-mpu6050-objs := inv_mpu_core.o inv_mpu_ring.o inv_mpu_trigger.o
obj-$(CONFIG_INV_MPU6050_I2C) += inv-mpu6050-i2c.o
inv-mpu6050-i2c-objs := inv_mpu_i2c.o inv_mpu_acpi.o
+
+obj-$(CONFIG_INV_MPU6050_SPI) += inv-mpu6050-spi.o
+inv-mpu6050-spi-objs := inv_mpu_spi.o