Skip to content

Commit ddeb35c

Browse files
richardweinbergerjic23
authored andcommitted
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 <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
1 parent e884ceb commit ddeb35c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/iio/imu/inv_mpu6050/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
config INV_MPU6050_IIO
66
tristate "Invensense MPU6050 devices"
77
depends on I2C && SYSFS
8+
depends on I2C_MUX
89
select IIO_BUFFER
910
select IIO_TRIGGERED_BUFFER
10-
select I2C_MUX
1111
help
1212
This driver supports the Invensense MPU6050 devices.
1313
This driver can also support MPU6500 in MPU6050 compatibility mode

0 commit comments

Comments
 (0)