summaryrefslogtreecommitdiff
path: root/drivers/iio/common/ssp_sensors/Makefile
diff options
context:
space:
mode:
authorKarol Wrona <k.wrona@samsung.com>2015-01-28 17:05:50 +0300
committerJonathan Cameron <jic23@kernel.org>2015-01-29 21:49:05 +0300
commit50dd64d57eee8aed1a86e875ce77d078e44fad00 (patch)
tree9ff907c4488b35999f28c8d1fa55fc1c46e8e628 /drivers/iio/common/ssp_sensors/Makefile
parent1664f6a5b0c85a006126c398988d06a0059a50a4 (diff)
downloadlinux-50dd64d57eee8aed1a86e875ce77d078e44fad00.tar.xz
iio: common: ssp_sensors: Add sensorhub driver
Sensorhub is MCU dedicated to collect data and manage several sensors. Sensorhub is a spi device which provides a layer for IIO devices. It provides some data parsing and common mechanism for sensorhub sensors. Adds common sensorhub library for sensorhub driver and iio drivers which uses sensorhub MCU to communicate with sensors. Signed-off-by: Karol Wrona <k.wrona@samsung.com> Acked-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/common/ssp_sensors/Makefile')
-rw-r--r--drivers/iio/common/ssp_sensors/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/iio/common/ssp_sensors/Makefile b/drivers/iio/common/ssp_sensors/Makefile
new file mode 100644
index 000000000000..07d3d6a6763b
--- /dev/null
+++ b/drivers/iio/common/ssp_sensors/Makefile
@@ -0,0 +1,6 @@
+#
+# Makefile for SSP sensor drivers and commons.
+#
+
+sensorhub-objs := ssp_dev.o ssp_spi.o
+obj-$(CONFIG_IIO_SSP_SENSORHUB) += sensorhub.o