diff options
author | Guenter Roeck <linux@roeck-us.net> | 2013-03-01 19:21:00 +0400 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2013-03-02 20:29:46 +0400 |
commit | da0d4ef27ca1407e64b2ac9e75d2ca60bb83b618 (patch) | |
tree | 49e717955bfd4e25795fce9d7478cff043d04413 | |
parent | f77ae9d8fd4b8ed984f33e996c62f2dfd9f73b37 (diff) | |
download | linux-da0d4ef27ca1407e64b2ac9e75d2ca60bb83b618.tar.xz |
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>
-rw-r--r-- | drivers/iio/imu/inv_mpu6050/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iio/imu/inv_mpu6050/Kconfig b/drivers/iio/imu/inv_mpu6050/Kconfig index b5cfa3a354cf..361b2328453d 100644 --- a/drivers/iio/imu/inv_mpu6050/Kconfig +++ b/drivers/iio/imu/inv_mpu6050/Kconfig @@ -5,6 +5,7 @@ config INV_MPU6050_IIO tristate "Invensense MPU6050 devices" depends on I2C && SYSFS + select IIO_BUFFER select IIO_TRIGGERED_BUFFER help This driver supports the Invensense MPU6050 devices. |