summaryrefslogtreecommitdiff
path: root/drivers/iio/accel/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/accel/Makefile')
-rw-r--r--drivers/iio/accel/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/iio/accel/Makefile b/drivers/iio/accel/Makefile
index 618488de1161..3f4a6d62d84c 100644
--- a/drivers/iio/accel/Makefile
+++ b/drivers/iio/accel/Makefile
@@ -3,7 +3,8 @@
#
# When adding new entries keep the list in alphabetical order
-obj-$(CONFIG_ADXL345) += adxl345.o
+obj-$(CONFIG_ADXL345) += adxl345_core.o
+obj-$(CONFIG_ADXL345_I2C) += adxl345_i2c.o
obj-$(CONFIG_BMA180) += bma180.o
obj-$(CONFIG_BMA220) += bma220_spi.o
obj-$(CONFIG_BMC150_ACCEL) += bmc150-accel-core.o