summaryrefslogtreecommitdiff
path: root/drivers/iio/common/hid-sensors/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/common/hid-sensors/Makefile')
-rw-r--r--drivers/iio/common/hid-sensors/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/iio/common/hid-sensors/Makefile b/drivers/iio/common/hid-sensors/Makefile
index 1f463e00c242..22e7c5a82325 100644
--- a/drivers/iio/common/hid-sensors/Makefile
+++ b/drivers/iio/common/hid-sensors/Makefile
@@ -3,4 +3,5 @@
#
obj-$(CONFIG_HID_SENSOR_IIO_COMMON) += hid-sensor-iio-common.o
-hid-sensor-iio-common-y := hid-sensor-attributes.o hid-sensor-trigger.o
+obj-$(CONFIG_HID_SENSOR_IIO_TRIGGER) += hid-sensor-trigger.o
+hid-sensor-iio-common-y := hid-sensor-attributes.o