iio hid-sensor-trigger: add Kconfig depends on IIO_BUFFER
[linux-2.6-block.git] / drivers / iio / common / hid-sensors / Kconfig
CommitLineData
73c6768b 1#
2# Hid Sensor common modules
3#
4menu "Hid Sensor IIO Common"
5
6config HID_SENSOR_IIO_COMMON
7 tristate "Common modules for all HID Sensor IIO drivers"
8 depends on HID_SENSOR_HUB
9541cc39 9 select HID_SENSOR_IIO_TRIGGER if IIO_BUFFER
73c6768b 10 help
11 Say yes here to build support for HID sensor to use
12 HID sensor common processing for attributes and IIO triggers.
13 There are many attributes which can be shared among multiple
14 HID sensor drivers, this module contains processing for those
15 attributes.
16
9541cc39
AH
17config HID_SENSOR_IIO_TRIGGER
18 tristate "Common module (trigger) for all HID Sensor IIO drivers"
0483fff4 19 depends on HID_SENSOR_HUB && HID_SENSOR_IIO_COMMON && IIO_BUFFER
9541cc39
AH
20 select IIO_TRIGGER
21 help
22 Say yes here to build trigger support for HID sensors.
23 Triggers will be send if all requested attributes were read.
24
25 If this driver is compiled as a module, it will be named
26 hid-sensor-trigger.
27
73c6768b 28endmenu