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>
This commit is contained in:
Markus Pargmann 2015-07-29 15:46:03 +02:00 committed by Jonathan Cameron
parent 57cb06762d
commit 06d2f6ca5a
1 changed files with 2 additions and 1 deletions

View File

@ -53,7 +53,8 @@ config ADXRS450
config BMG160 config BMG160
tristate "BOSCH BMG160 Gyro Sensor" tristate "BOSCH BMG160 Gyro Sensor"
depends on I2C depends on I2C
select IIO_TRIGGERED_BUFFER if IIO_BUFFER select IIO_BUFFER
select IIO_TRIGGERED_BUFFER
help help
Say yes here to build support for Bosch BMG160 Tri-axis Gyro Sensor Say yes here to build support for Bosch BMG160 Tri-axis Gyro Sensor
driver. This driver also supports BMI055 gyroscope. driver. This driver also supports BMI055 gyroscope.