diff options
author | Markus Pargmann <mpa@pengutronix.de> | 2015-07-29 15:46:03 +0200 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2015-08-12 19:24:13 +0100 |
commit | 06d2f6ca5a38abe92f1f3a132b331eee773868c3 (patch) | |
tree | 788e85b2411247290e5de2c9bf24084ebfa24718 | |
parent | 57cb06762d5e587d58005b17b0fa99bd1e391c29 (diff) | |
download | linux-stable-06d2f6ca5a38abe92f1f3a132b331eee773868c3.tar.gz linux-stable-06d2f6ca5a38abe92f1f3a132b331eee773868c3.tar.bz2 linux-stable-06d2f6ca5a38abe92f1f3a132b331eee773868c3.zip |
iio: bmg160: IIO_BUFFER and IIO_TRIGGERED_BUFFER are required
This patch adds selects for IIO_BUFFER and IIO_TRIGGERED_BUFFER. Without
IIO_BUFFER, the driver does not compile.
Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
Reviewed-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
-rw-r--r-- | drivers/iio/gyro/Kconfig | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/iio/gyro/Kconfig b/drivers/iio/gyro/Kconfig index b3d0e94f72eb..8d2439345673 100644 --- a/drivers/iio/gyro/Kconfig +++ b/drivers/iio/gyro/Kconfig @@ -53,7 +53,8 @@ config ADXRS450 config BMG160 tristate "BOSCH BMG160 Gyro Sensor" depends on I2C - select IIO_TRIGGERED_BUFFER if IIO_BUFFER + select IIO_BUFFER + select IIO_TRIGGERED_BUFFER help Say yes here to build support for Bosch BMG160 Tri-axis Gyro Sensor driver. This driver also supports BMI055 gyroscope. |