mirror of
https://github.com/torvalds/linux.git
synced 2024-11-05 19:41:54 +00:00
872e79add7
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>
13 lines
358 B
Makefile
13 lines
358 B
Makefile
#
|
|
# Makefile for industrial I/O Magnetometer sensor drivers
|
|
#
|
|
|
|
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
|