summaryrefslogtreecommitdiff
path: root/drivers/iio/health
diff options
context:
space:
mode:
authorRichard Weinberger <richard@nod.at>2016-03-25 23:40:55 +0100
committerJonathan Cameron <jic23@kernel.org>2016-03-28 09:52:09 +0100
commitf7072198f2178b68eabf25b439f17cfd8e070e9f (patch)
treeb25e5d3af51b14eeb7a95f95544d5c19e001e821 /drivers/iio/health
parent8a665d2f2f837664e214863f2cbf7ec17f34ae56 (diff)
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>
Diffstat (limited to 'drivers/iio/health')
0 files changed, 0 insertions, 0 deletions