]> git.baikalelectronics.ru Git - kernel.git/commit
iio: imu: Fix dependencies for !HAS_IOMEM archs
authorRichard Weinberger <richard@nod.at>
Mon, 25 Jan 2016 22:24:15 +0000 (23:24 +0100)
committerJonathan Cameron <jic23@kernel.org>
Sat, 30 Jan 2016 15:48:19 +0000 (15:48 +0000)
commit68dec6c2a345628d917910393cb0026924d747c7
treefcf031383d916d7b0312e20a751943903a29a4c5
parentfcd8c9b49c959862673592fd6e04f46493fb7557
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>
drivers/iio/imu/inv_mpu6050/Kconfig