diff options
author | Richard Weinberger <richard@nod.at> | 2016-01-25 22:24:15 (GMT) |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2016-01-30 15:48:19 (GMT) |
commit | ddeb35cbd6221751f0197ffaa9500da31e8337f4 (patch) | |
tree | fcf031383d916d7b0312e20a751943903a29a4c5 /drivers/iio/imu/inv_mpu6050/Kconfig | |
parent | e884cebf9ea34f559bc78a474f3fccbc285dcb71 (diff) | |
download | linux-ddeb35cbd6221751f0197ffaa9500da31e8337f4.tar.xz |
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>
Diffstat (limited to 'drivers/iio/imu/inv_mpu6050/Kconfig')
-rw-r--r-- | drivers/iio/imu/inv_mpu6050/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/imu/inv_mpu6050/Kconfig b/drivers/iio/imu/inv_mpu6050/Kconfig index 48fbc0b..8f8d137 100644 --- a/drivers/iio/imu/inv_mpu6050/Kconfig +++ b/drivers/iio/imu/inv_mpu6050/Kconfig @@ -5,9 +5,9 @@ config INV_MPU6050_IIO tristate "Invensense MPU6050 devices" depends on I2C && SYSFS + depends on I2C_MUX select IIO_BUFFER select IIO_TRIGGERED_BUFFER - select I2C_MUX help This driver supports the Invensense MPU6050 devices. This driver can also support MPU6500 in MPU6050 compatibility mode |