summaryrefslogtreecommitdiffstats
path: root/kernel/drivers/iio/gyro/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/iio/gyro/Makefile')
-rw-r--r--kernel/drivers/iio/gyro/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/kernel/drivers/iio/gyro/Makefile b/kernel/drivers/iio/gyro/Makefile
index f46341b39..f866a4be0 100644
--- a/kernel/drivers/iio/gyro/Makefile
+++ b/kernel/drivers/iio/gyro/Makefile
@@ -8,7 +8,9 @@ obj-$(CONFIG_ADIS16130) += adis16130.o
obj-$(CONFIG_ADIS16136) += adis16136.o
obj-$(CONFIG_ADIS16260) += adis16260.o
obj-$(CONFIG_ADXRS450) += adxrs450.o
-obj-$(CONFIG_BMG160) += bmg160.o
+obj-$(CONFIG_BMG160) += bmg160_core.o
+obj-$(CONFIG_BMG160_I2C) += bmg160_i2c.o
+obj-$(CONFIG_BMG160_SPI) += bmg160_spi.o
obj-$(CONFIG_HID_SENSOR_GYRO_3D) += hid-sensor-gyro-3d.o