Skip to content

Commit 06d2f6c

Browse files
Markus Pargmannjic23
authored andcommitted
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 <[email protected]> Reviewed-by: Srinivas Pandruvada <[email protected]> Cc: <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
1 parent 57cb067 commit 06d2f6c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

drivers/iio/gyro/Kconfig

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@ config ADXRS450
5353
config BMG160
5454
tristate "BOSCH BMG160 Gyro Sensor"
5555
depends on I2C
56-
select IIO_TRIGGERED_BUFFER if IIO_BUFFER
56+
select IIO_BUFFER
57+
select IIO_TRIGGERED_BUFFER
5758
help
5859
Say yes here to build support for Bosch BMG160 Tri-axis Gyro Sensor
5960
driver. This driver also supports BMI055 gyroscope.

0 commit comments

Comments
 (0)