diff options
author | Markus Pargmann <mpa@pengutronix.de> | 2015-07-29 15:46:03 +0200 |
---|---|---|
committer | Sasha Levin <sasha.levin@oracle.com> | 2015-10-27 22:14:34 -0400 |
commit | a56cd44a153e6a0de75015632039221494ab29eb (patch) | |
tree | 9159666efc7105ecc25c9fbd48b12f9707254f33 | |
parent | 77ffebfc23b0b8e23da1af91d8999ef9b31cde51 (diff) | |
download | lwn-a56cd44a153e6a0de75015632039221494ab29eb.tar.gz lwn-a56cd44a153e6a0de75015632039221494ab29eb.zip |
iio: bmg160: IIO_BUFFER and IIO_TRIGGERED_BUFFER are required
[ Upstream commit 06d2f6ca5a38abe92f1f3a132b331eee773868c3 ]
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>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
-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..18e27d637854 100644 --- a/drivers/iio/gyro/Kconfig +++ b/drivers/iio/gyro/Kconfig @@ -104,7 +104,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. |