diff options
author | Denis Ciocca <denis.ciocca@gmail.com> | 2013-01-26 00:44:00 +0100 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2013-01-31 18:56:43 +0100 |
commit | d62511689de5d34d3a07c43db1f46a234bb77b5f (patch) | |
tree | 945bdd5e1ab436db7ed3c1d58966cb7291320662 /drivers/iio/accel/Makefile | |
parent | iio:common: Add STMicroelectronics common library (diff) | |
download | linux-d62511689de5d34d3a07c43db1f46a234bb77b5f.tar.xz linux-d62511689de5d34d3a07c43db1f46a234bb77b5f.zip |
iio:accel: Add STMicroelectronics accelerometers driver
This patch adds a generic accelerometer driver for STMicroelectronics
accelerometers, currently it supports:
LSM303DLH, LSM303DLHC, LIS3DH, LSM330D, LSM330DL, LSM330DLC,
LIS331DLH, LSM303DL, LSM303DLM, LSM330.
Signed-off-by: Denis Ciocca <denis.ciocca@st.com>
Reviewed-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/accel/Makefile')
-rw-r--r-- | drivers/iio/accel/Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/iio/accel/Makefile b/drivers/iio/accel/Makefile index 4e1c85987d13..87d8fa264894 100644 --- a/drivers/iio/accel/Makefile +++ b/drivers/iio/accel/Makefile @@ -3,4 +3,12 @@ # obj-$(CONFIG_HID_SENSOR_ACCEL_3D) += hid-sensor-accel-3d.o + +obj-$(CONFIG_IIO_ST_ACCEL_3AXIS) += st_accel.o +st_accel-y := st_accel_core.o +st_accel-$(CONFIG_IIO_BUFFER) += st_accel_buffer.o + +obj-$(CONFIG_IIO_ST_ACCEL_I2C_3AXIS) += st_accel_i2c.o +obj-$(CONFIG_IIO_ST_ACCEL_SPI_3AXIS) += st_accel_spi.o + obj-$(CONFIG_KXSD9) += kxsd9.o |