Skip to content

Commit

Permalink
iio: bmg160: IIO_BUFFER and IIO_TRIGGERED_BUFFER are required
Browse files Browse the repository at this point in the history
This patch adds selects for IIO_BUFFER and IIO_TRIGGERED_BUFFER. Without
IIO_BUFFER, the driver does not compile.

Signed-off-by: Markus Pargmann <[email protected]>
Reviewed-by: Srinivas Pandruvada <[email protected]>
Cc: <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
  • Loading branch information
Markus Pargmann authored and jic23 committed Aug 12, 2015
1 parent 57cb067 commit 06d2f6c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/iio/gyro/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 06d2f6c

Please sign in to comment.