summaryrefslogtreecommitdiffstats
path: root/drivers/iio/pressure/Makefile
diff options
context:
space:
mode:
authorDenis CIOCCA <denis.ciocca@st.com>2013-06-03 15:58:00 +0100
committerJonathan Cameron <jic23@kernel.org>2013-06-05 18:41:23 +0100
commit217494e5b780ad85485c1bb6382ce50b5fa2dc26 (patch)
tree26e9fd1c62477c099c05a3fbcdd265c287bc1ef8 /drivers/iio/pressure/Makefile
parent607a568ab69c5ac345a286267a27294888f8bb5f (diff)
downloadlinux-217494e5b780ad85485c1bb6382ce50b5fa2dc26.tar.bz2
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