]> asedeno.scripts.mit.edu Git - linux.git/commit
iio hid-sensor-trigger: add Kconfig depends on IIO_BUFFER
authorAlexander Wuerstlein <arw@arw.name>
Mon, 12 Jun 2017 11:56:05 +0000 (13:56 +0200)
committerJonathan Cameron <jic23@kernel.org>
Tue, 13 Jun 2017 20:10:14 +0000 (21:10 +0100)
commit0483fff4d0ae0c7cd4cddb121983352bd2b3aad9
treede86221e839019cebb68f8b5d0d4269f54647aa4
parented3edc0909a84d80b3db3eca9c76a95e29ccae07
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: Alexander Wuerstlein <arw@arw.name>
Fixes: 138bc7969c24 ("iio: hid-sensor-hub: Implement batch mode")
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/common/hid-sensors/Kconfig