提交 0483fff4 编写于 作者: A Alexander Wuerstlein 提交者: Jonathan Cameron

iio hid-sensor-trigger: add Kconfig depends on IIO_BUFFER

Building a kernel with my configuration failed with:
> drivers/built-in.o: In function `hid_sensor_setup_batch_mode': staging/drivers/iio/common/hid-sensors/hid-sensor-trigger.c:104: undefined reference to `iio_buffer_set_attrs'
which is fixed by this patch.
Signed-off-by: NAlexander Wuerstlein <arw@arw.name>
Fixes: 138bc796 ("iio: hid-sensor-hub: Implement batch mode")
Signed-off-by: NJonathan Cameron <jic23@kernel.org>
上级 ed3edc09
...@@ -16,7 +16,7 @@ config HID_SENSOR_IIO_COMMON ...@@ -16,7 +16,7 @@ config HID_SENSOR_IIO_COMMON
config HID_SENSOR_IIO_TRIGGER config HID_SENSOR_IIO_TRIGGER
tristate "Common module (trigger) for all HID Sensor IIO drivers" tristate "Common module (trigger) for all HID Sensor IIO drivers"
depends on HID_SENSOR_HUB && HID_SENSOR_IIO_COMMON depends on HID_SENSOR_HUB && HID_SENSOR_IIO_COMMON && IIO_BUFFER
select IIO_TRIGGER select IIO_TRIGGER
help help
Say yes here to build trigger support for HID sensors. Say yes here to build trigger support for HID sensors.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册