Commit 2e187a02 authored by Hartmut Knaack's avatar Hartmut Knaack Committed by Jonathan Cameron

iio:magnetometer:bmc150_magn: add regmap dependency

bmc150_magn makes use of REGMAP_I2C, so select it to build always without
errors.

Fixes: c91746a2 ("iio: magn: Add support for BMC150 magnetometer")
Signed-off-by: default avatarHartmut Knaack <knaack.h@gmx.de>
Signed-off-by: default avatarJonathan Cameron <jic23@kernel.org>
parent 7eb7ee30
......@@ -90,6 +90,7 @@ config IIO_ST_MAGN_SPI_3AXIS
config BMC150_MAGN
tristate "Bosch BMC150 Magnetometer Driver"
depends on I2C
select REGMAP_I2C
select IIO_BUFFER
select IIO_TRIGGERED_BUFFER
help
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment