diff options
author | Denis Ciocca <denis.ciocca@gmail.com> | 2013-01-26 03:44:00 +0400 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2013-01-31 21:56:43 +0400 |
commit | 872e79add7561645b130fba63aa7ca12098a9361 (patch) | |
tree | 96ecdf425cfc12b4050e7e569cdbb4bcc5bf6715 /drivers/iio/magnetometer/Makefile | |
parent | 7be56a8f57b57cca1651fb97886e20246c168e25 (diff) | |
download | linux-872e79add7561645b130fba63aa7ca12098a9361.tar.xz |
iio:magnetometer: Add STMicroelectronics magnetometers driver
This patch adds a generic magnetometer driver for STMicroelectronics
magnetometers, currently it supports:
LSM303DLHC, LSM303DLM, LIS3MDL.
Signed-off-by: Denis Ciocca <denis.ciocca@st.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/magnetometer/Makefile')
-rw-r--r-- | drivers/iio/magnetometer/Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/iio/magnetometer/Makefile b/drivers/iio/magnetometer/Makefile index 60dc4f2b1963..e78672876dc2 100644 --- a/drivers/iio/magnetometer/Makefile +++ b/drivers/iio/magnetometer/Makefile @@ -3,3 +3,10 @@ # obj-$(CONFIG_HID_SENSOR_MAGNETOMETER_3D) += hid-sensor-magn-3d.o + +obj-$(CONFIG_IIO_ST_MAGN_3AXIS) += st_magn.o +st_magn-y := st_magn_core.o +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 |