aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Weinberger <richard@nod.at>2016-01-25 17:24:15 -0500
committerJonathan Cameron <jic23@kernel.org>2016-01-30 10:48:19 -0500
commitddeb35cbd6221751f0197ffaa9500da31e8337f4 (patch)
treefcf031383d916d7b0312e20a751943903a29a4c5
parente884cebf9ea34f559bc78a474f3fccbc285dcb71 (diff)
iio: imu: Fix dependencies for !HAS_IOMEM archs
Not every arch has io memory. While the driver has correct dependencies the select statement will bypass the HAS_IOMEM dependency. So, unbreak the build by rendering it into a real dependency. Signed-off-by: Richard Weinberger <richard@nod.at> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
-rw-r--r--drivers/iio/imu/inv_mpu6050/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/imu/inv_mpu6050/Kconfig b/drivers/iio/imu/inv_mpu6050/Kconfig
index 48fbc0bc7e2a..8f8d1370ed8b 100644
--- a/drivers/iio/imu/inv_mpu6050/Kconfig
+++ b/drivers/iio/imu/inv_mpu6050/Kconfig
@@ -5,9 +5,9 @@
5config INV_MPU6050_IIO 5config INV_MPU6050_IIO
6 tristate "Invensense MPU6050 devices" 6 tristate "Invensense MPU6050 devices"
7 depends on I2C && SYSFS 7 depends on I2C && SYSFS
8 depends on I2C_MUX
8 select IIO_BUFFER 9 select IIO_BUFFER
9 select IIO_TRIGGERED_BUFFER 10 select IIO_TRIGGERED_BUFFER
10 select I2C_MUX
11 help 11 help
12 This driver supports the Invensense MPU6050 devices. 12 This driver supports the Invensense MPU6050 devices.
13 This driver can also support MPU6500 in MPU6050 compatibility mode 13 This driver can also support MPU6500 in MPU6050 compatibility mode