summaryrefslogtreecommitdiffstats
path: root/drivers/iio/accel
diff options
context:
space:
mode:
authorAlexander Holler <holler@ahsoftware.de>2012-12-11 18:21:00 +0000
committerJonathan Cameron <jic23@kernel.org>2012-12-27 10:59:50 +0000
commit9541cc39a6381b76dac30c8e05078eb0a543f113 (patch)
tree080195e2f87bb906167cc262270d1a09cd5ba522 /drivers/iio/accel
parent116797672ffdd3635eafa25db5bd312e65c5ad01 (diff)
downloadlinux-9541cc39a6381b76dac30c8e05078eb0a543f113.tar.gz
linux-9541cc39a6381b76dac30c8e05078eb0a543f113.tar.bz2
linux-9541cc39a6381b76dac30c8e05078eb0a543f113.zip
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/accel')
-rw-r--r--drivers/iio/accel/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iio/accel/Kconfig b/drivers/iio/accel/Kconfig
index fe4bcd7c5b12..05e996fafc9d 100644
--- a/drivers/iio/accel/Kconfig
+++ b/drivers/iio/accel/Kconfig
@@ -8,6 +8,7 @@ config HID_SENSOR_ACCEL_3D
select IIO_BUFFER
select IIO_TRIGGERED_BUFFER
select HID_SENSOR_IIO_COMMON
+ select HID_SENSOR_IIO_TRIGGER
tristate "HID Accelerometers 3D"
help
Say yes here to build support for the HID SENSOR