Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1364868
| From | Richard Weinberger <richard@nod.at> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 8/8] iio: imu: Fix inv_mpu6050 dependencies |
| Date | 2016-03-25 23:50 +0100 |
| Message-ID | <rgIIi-6E-17@gated-at.bofh.it> (permalink) |
| References | <rgIIi-6E-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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> --- drivers/iio/imu/inv_mpu6050/Kconfig | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/iio/imu/inv_mpu6050/Kconfig b/drivers/iio/imu/inv_mpu6050/Kconfig index a7f557a..847455a 100644 --- a/drivers/iio/imu/inv_mpu6050/Kconfig +++ b/drivers/iio/imu/inv_mpu6050/Kconfig @@ -9,9 +9,8 @@ config INV_MPU6050_IIO config INV_MPU6050_I2C tristate "Invensense MPU6050 devices (I2C)" - depends on I2C + depends on I2C_MUX select INV_MPU6050_IIO - select I2C_MUX select REGMAP_I2C help This driver supports the Invensense MPU6050 devices. -- 1.8.4.5
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 1/8] phy: Fix phy-hi6220-usb dependencies Richard Weinberger <richard@nod.at> - 2016-03-25 23:50 +0100
[PATCH 4/8] phy: Fix phy-bcm-cygnus-pcie dependencies Richard Weinberger <richard@nod.at> - 2016-03-25 23:50 +0100
[PATCH 7/8] fpga: Fix zynq-fpga dependencies Richard Weinberger <richard@nod.at> - 2016-03-25 23:50 +0100
[PATCH 5/8] nvmem: Fix io memory dependencies Richard Weinberger <richard@nod.at> - 2016-03-25 23:50 +0100
Re: [PATCH 5/8] nvmem: Fix io memory dependencies Srinivas Kandagatla <srinivas.kandagatla@linaro.org> - 2016-03-30 11:00 +0200
[PATCH 6/8] iio: adc: Fix at91-sama5d2_adc dependencies Richard Weinberger <richard@nod.at> - 2016-03-25 23:50 +0100
Re: [PATCH 6/8] iio: adc: Fix at91-sama5d2_adc dependencies Jonathan Cameron <jic23@kernel.org> - 2016-03-28 10:50 +0200
[PATCH 8/8] iio: imu: Fix inv_mpu6050 dependencies Richard Weinberger <richard@nod.at> - 2016-03-25 23:50 +0100
Re: [PATCH 8/8] iio: imu: Fix inv_mpu6050 dependencies Jonathan Cameron <jic23@kernel.org> - 2016-03-28 11:10 +0200
[PATCH 2/8] mailbox: Fix rockchip dependencies Richard Weinberger <richard@nod.at> - 2016-03-25 23:50 +0100
Re: [PATCH 1/8] phy: Fix phy-hi6220-usb dependencies Geert Uytterhoeven <geert@linux-m68k.org> - 2016-03-26 10:10 +0100
Re: [PATCH 1/8] phy: Fix phy-hi6220-usb dependencies Richard Weinberger <richard@nod.at> - 2016-03-26 10:30 +0100
Re: [PATCH 1/8] phy: Fix phy-hi6220-usb dependencies Krzysztof Kozlowski <k.kozlowski@samsung.com> - 2016-03-30 06:20 +0200
csiph-web