Revert "iio: bmg160: IIO_BUFFER and IIO_TRIGGERED_BUFFER are required"
authorMarkus Pargmann <mpa@pengutronix.de>
Wed, 29 Jul 2015 13:46:03 +0000 (15:46 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 1 Oct 2015 09:36:25 +0000 (11:36 +0200)
This reverts commit 279c039ca63acbd69e69d6d7ddfed50346fb2185 which was
commit 06d2f6ca5a38abe92f1f3a132b331eee773868c3 upstream as it should
not have been applied.

Reported-by: Luis Henriques <luis.henriques@canonical.com>
Cc: Markus Pargmann <mpa@pengutronix.de>
Cc: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Cc: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/iio/gyro/Kconfig

index 6f64c5cc53879e8a18bcf503bffad46c0f982d8d..ac2d69e34c8ceb60661c5f3b433d415939e607f9 100644 (file)
@@ -93,8 +93,7 @@ config IIO_ST_GYRO_SPI_3AXIS
 config ITG3200
        tristate "InvenSense ITG3200 Digital 3-Axis Gyroscope I2C driver"
        depends on I2C
-       select IIO_BUFFER
-       select IIO_TRIGGERED_BUFFER
+       select IIO_TRIGGERED_BUFFER if IIO_BUFFER
        help
          Say yes here to add support for the InvenSense ITG3200 digital
          3-axis gyroscope sensor.