Commit da0d4ef27ca1407e64b2ac9e75d2ca60bb83b618

Authored by Guenter Roeck
Committed by Jonathan Cameron
1 parent f77ae9d8fd

iio/imu: inv_mpu6050 depends on IIO_BUFFER

Fix:

drivers/iio/imu/inv_mpu6050/inv_mpu_ring.c: In function ‘inv_mpu6050_read_fifo’:
drivers/iio/imu/inv_mpu6050/inv_mpu_ring.c:176:3: error: implicit declaration of
function ‘iio_push_to_buffers’ [-Werror=implicit-function-declaration]

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>

Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff

drivers/iio/imu/inv_mpu6050/Kconfig
... ... @@ -5,6 +5,7 @@
5 5 config INV_MPU6050_IIO
6 6 tristate "Invensense MPU6050 devices"
7 7 depends on I2C && SYSFS
  8 + select IIO_BUFFER
8 9 select IIO_TRIGGERED_BUFFER
9 10 help
10 11 This driver supports the Invensense MPU6050 devices.