diff options
author | Adriana Reus <adriana.reus@intel.com> | 2016-02-12 14:44:44 +0300 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2016-02-13 23:54:00 +0300 |
commit | b3eea8dacfb758baa0fe78e0cf24d5e5d288c5fe (patch) | |
tree | 32ab2ddc5f95be730faf3a050211baee78849059 /drivers/iio/imu/inv_mpu6050/Makefile | |
parent | d430f3c36ca6e71f30c00757f5d43ca83b890ff4 (diff) | |
download | linux-b3eea8dacfb758baa0fe78e0cf24d5e5d288c5fe.tar.xz |
iio: imu: inv_mpu6050: Separate driver into core and i2c functionality.
Separate this driver into core and i2c functionality.
This is in preparation for adding spi support.
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/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/iio/imu/inv_mpu6050/Makefile b/drivers/iio/imu/inv_mpu6050/Makefile index f566f6a7b3a9..ca4941d32e67 100644 --- a/drivers/iio/imu/inv_mpu6050/Makefile +++ b/drivers/iio/imu/inv_mpu6050/Makefile @@ -3,4 +3,7 @@ # obj-$(CONFIG_INV_MPU6050_IIO) += inv-mpu6050.o -inv-mpu6050-objs := inv_mpu_core.o inv_mpu_ring.o inv_mpu_trigger.o inv_mpu_acpi.o +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 |