summaryrefslogtreecommitdiffstats
path: root/drivers/iio/magnetometer/Makefile
diff options
context:
space:
mode:
authorIrina Tirdea <irina.tirdea@intel.com>2015-04-29 21:16:37 +0300
committerJonathan Cameron <jic23@kernel.org>2015-05-10 20:31:43 +0100
commitc91746a2361d75bb8ded6ef4813a4a2dcdcd845e (patch)
tree4b9536a452e67f0eb5c44af46634d9f11397da27 /drivers/iio/magnetometer/Makefile
parent9291766476f3b067c740fe9cc0b4cd78ace27409 (diff)
downloadop-kernel-dev-c91746a2361d75bb8ded6ef4813a4a2dcdcd845e.zip
op-kernel-dev-c91746a2361d75bb8ded6ef4813a4a2dcdcd845e.tar.gz
iio: magn: Add support for BMC150 magnetometer
Add support for the Bosh BMC150 Magnetometer. The specification can be downloaded from: http://ae-bst.resource.bosch.com/media/products/dokumente/bmc150/BST-BMC150-DS000-04.pdf. The chip contains both an accelerometer and a magnetometer. This patch adds support only for the magnetometer part. The temperature compensation formulas are based on bmm050_api.c authored by contact@bosch.sensortec.com. Signed-off-by: Irina Tirdea <irina.tirdea@intel.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/magnetometer/Makefile')
-rw-r--r--drivers/iio/magnetometer/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/iio/magnetometer/Makefile b/drivers/iio/magnetometer/Makefile
index 0f5d3c9..e2c3459 100644
--- a/drivers/iio/magnetometer/Makefile
+++ b/drivers/iio/magnetometer/Makefile
@@ -13,3 +13,5 @@ st_magn-$(CONFIG_IIO_BUFFER) += st_magn_buffer.o
obj-$(CONFIG_IIO_ST_MAGN_I2C_3AXIS) += st_magn_i2c.o
obj-$(CONFIG_IIO_ST_MAGN_SPI_3AXIS) += st_magn_spi.o
+
+obj-$(CONFIG_BMC150_MAGN) += bmc150_magn.o
OpenPOWER on IntegriCloud