Skip to content

Commit

Permalink
iio:magnetometer:bmc150_magn: add regmap dependency
Browse files Browse the repository at this point in the history
bmc150_magn makes use of REGMAP_I2C, so select it to build always without
errors.

Fixes: c91746a ("iio: magn: Add support for BMC150 magnetometer")

Signed-off-by: Hartmut Knaack <knaack.h@gmx.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
  • Loading branch information
Hartmut Knaack authored and Jonathan Cameron committed Jul 19, 2015
1 parent 7eb7ee3 commit 2e187a0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/iio/magnetometer/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2e187a0

Please sign in to comment.