diff options
author | Alexander Holler <holler@ahsoftware.de> | 2012-12-11 22:21:00 +0400 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2012-12-27 14:59:50 +0400 |
commit | 9541cc39a6381b76dac30c8e05078eb0a543f113 (patch) | |
tree | 080195e2f87bb906167cc262270d1a09cd5ba522 /drivers/iio/common/hid-sensors/Makefile | |
parent | 116797672ffdd3635eafa25db5bd312e65c5ad01 (diff) | |
download | linux-9541cc39a6381b76dac30c8e05078eb0a543f113.tar.xz |
iio: hid-sensors: respect CONFIG_IIO_TRIGGER
Not much to say, without that change, hid-sensor-trigger will be
always compiled if HID_SENSOR_IIO_COMMON is selected which fails if
CONFIG_IIO_TRIGGER is not set because CONFIG_IIO_CONSUMERS_PER_TRIGGER
will not be defined.
Signed-off-by: Alexander Holler <holler@ahsoftware.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/common/hid-sensors/Makefile')
-rw-r--r-- | drivers/iio/common/hid-sensors/Makefile | 3 |
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 |