summaryrefslogtreecommitdiffstats
path: root/drivers/iio/imu
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2013-03-01 16:21:00 +0100
committerJonathan Cameron <jic23@kernel.org>2013-03-02 17:29:46 +0100
commitda0d4ef27ca1407e64b2ac9e75d2ca60bb83b618 (patch)
tree49e717955bfd4e25795fce9d7478cff043d04413 /drivers/iio/imu
parentiio:ad5064: Initialize register cache correctly (diff)
downloadlinux-da0d4ef27ca1407e64b2ac9e75d2ca60bb83b618.tar.xz
linux-da0d4ef27ca1407e64b2ac9e75d2ca60bb83b618.zip
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>
Diffstat (limited to 'drivers/iio/imu')
-rw-r--r--drivers/iio/imu/inv_mpu6050/Kconfig1
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.