linux/drivers/iio/imu/inv_mpu6050
Richard Weinberger f7072198f2 iio: imu: Fix inv_mpu6050 dependencies
Not all archs have io memory.
Instead of selecting I2C_MUX (and bypassing the HAS_IOMEM dependency)
depend directly on it.

Fixes the following kconfig warning:
warning: (MEDIA_SUBDRV_AUTOSELECT && VIDEO_CX231XX && INV_MPU6050_I2C) selects I2C_MUX which has unmet direct dependencies (I2C && HAS_IOMEM)
And this build error:
ERROR: "devm_ioremap_resource" [drivers/i2c/muxes/i2c-mux-reg.ko] undefined!
ERROR: "of_address_to_resource" [drivers/i2c/muxes/i2c-mux-reg.ko] undefined!

Cc: Jonathan Cameron <jic23@kernel.org>
Cc: Hartmut Knaack <knaack.h@gmx.de>
Cc: Lars-Peter Clausen <lars@metafoo.de>
Cc: Peter Meerwald <pmeerw@pmeerw.net>
Signed-off-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2016-03-28 09:52:09 +01:00
..
inv_mpu_acpi.c iio: imu: inv_mpu6050: Remove unnecessary parentheses 2016-02-24 20:40:43 +00:00
inv_mpu_core.c iio: imu: mpu6050: add mpu6500 register settings 2016-02-25 19:54:27 +00:00
inv_mpu_i2c.c iio: convert to common i2c_check_functionality() return value 2016-02-27 17:17:43 +00:00
inv_mpu_iio.h iio: imu: mpu6050: add mpu6500 register settings 2016-02-25 19:54:27 +00:00
inv_mpu_ring.c iio: imu: inv_mpu6050: Fix alignment with open parenthesis 2016-02-24 20:40:45 +00:00
inv_mpu_spi.c iio: imu: mpu6050: add mpu6500 register settings 2016-02-25 19:54:27 +00:00
inv_mpu_trigger.c iio: imu: inv_mpu6050: Fix alignment with open parenthesis 2016-02-24 20:40:45 +00:00
Kconfig iio: imu: Fix inv_mpu6050 dependencies 2016-03-28 09:52:09 +01:00
Makefile iio: imu: inv_mpu6050: Add SPI support for MPU6000 2016-02-13 20:54:07 +00:00