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)
commitddeb35cbd6221751f0197ffaa9500da31e8337f4
treefcf031383d916d7b0312e20a751943903a29a4c5
parente884cebf9ea34f559bc78a474f3fccbc285dcb71
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