summaryrefslogtreecommitdiffstats
path: root/drivers/iio/pressure/Makefile
diff options
context:
space:
mode:
authorDenis CIOCCA <denis.ciocca@st.com>2013-06-03 16:58:00 +0200
committerJonathan Cameron <jic23@kernel.org>2013-06-05 19:41:23 +0200
commit217494e5b780ad85485c1bb6382ce50b5fa2dc26 (patch)
tree26e9fd1c62477c099c05a3fbcdd265c287bc1ef8 /drivers/iio/pressure/Makefile
parentiio:common: Removed stuff macros, added num_data_channels on st_sensors struc... (diff)
downloadlinux-217494e5b780ad85485c1bb6382ce50b5fa2dc26.tar.xz
linux-217494e5b780ad85485c1bb6382ce50b5fa2dc26.zip
iio:pressure: Add STMicroelectronics pressures driver
This patch adds a generic pressure driver for STMicroelectronics pressure sensors, currently it supports: LPS331AP. Signed-off-by: Denis Ciocca <denis.ciocca@st.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/pressure/Makefile')
-rw-r--r--drivers/iio/pressure/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/iio/pressure/Makefile b/drivers/iio/pressure/Makefile
new file mode 100644
index 000000000000..d4bb33e5c846
--- /dev/null
+++ b/drivers/iio/pressure/Makefile
@@ -0,0 +1,10 @@
+#
+# Makefile for industrial I/O pressure drivers
+#
+
+obj-$(CONFIG_IIO_ST_PRESS) += st_pressure.o
+st_pressure-y := st_pressure_core.o
+st_pressure-$(CONFIG_IIO_BUFFER) += st_pressure_buffer.o
+
+obj-$(CONFIG_IIO_ST_PRESS_I2C) += st_pressure_i2c.o
+obj-$(CONFIG_IIO_ST_PRESS_SPI) += st_pressure_spi.o