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
commit 06d2f6c upstream.

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>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Markus Pargmann authored and Greg Kroah-Hartman committed Sep 21, 2015
1 parent bb054c0 commit 279c039
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 @@ -93,7 +93,8 @@ config IIO_ST_GYRO_SPI_3AXIS
config ITG3200
tristate "InvenSense ITG3200 Digital 3-Axis Gyroscope I2C driver"
depends on I2C
select IIO_TRIGGERED_BUFFER if IIO_BUFFER
select IIO_BUFFER
select IIO_TRIGGERED_BUFFER
help
Say yes here to add support for the InvenSense ITG3200 digital
3-axis gyroscope sensor.
Expand Down

0 comments on commit 279c039

Please sign in to comment.