summaryrefslogtreecommitdiffstats
path: root/drivers/staging/iio/Makefile
diff options
context:
space:
mode:
authorJonathan Cameron <jic23@cam.ac.uk>2011-10-14 16:34:14 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2011-10-17 15:36:30 -0700
commite6477000fced2c961c26fa42845bd388fdf95e79 (patch)
treeb3705a6ec07cc46e786c5e1087576d4053085f9f /drivers/staging/iio/Makefile
parent3a84331db23b4cb4c497ef5aa5f7aea65d936309 (diff)
downloadlinux-stable-e6477000fced2c961c26fa42845bd388fdf95e79.tar.gz
linux-stable-e6477000fced2c961c26fa42845bd388fdf95e79.tar.bz2
linux-stable-e6477000fced2c961c26fa42845bd388fdf95e79.zip
staging:iio:dummy Add event support + fake event generator
The event generator is not very pretty but does the job and allows this driver to look a lot more like a normal driver than it otherwise would. Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/iio/Makefile')
-rw-r--r--drivers/staging/iio/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/staging/iio/Makefile b/drivers/staging/iio/Makefile
index 014d8f1bf61e..75aacfded538 100644
--- a/drivers/staging/iio/Makefile
+++ b/drivers/staging/iio/Makefile
@@ -10,7 +10,11 @@ industrialio-$(CONFIG_IIO_TRIGGER) += industrialio-trigger.o
obj-$(CONFIG_IIO_SW_RING) += ring_sw.o
obj-$(CONFIG_IIO_KFIFO_BUF) += kfifo_buf.o
-obj-$(CONFIG_IIO_SIMPLE_DUMMY) += iio_simple_dummy.o
+obj-$(CONFIG_IIO_SIMPLE_DUMMY) += iio_dummy.o
+iio_dummy-y := iio_simple_dummy.o
+iio_dummy-$(CONFIG_IIO_SIMPLE_DUMMY_EVENTS) += iio_simple_dummy_events.o
+
+obj-$(CONFIG_IIO_DUMMY_EVGEN) += iio_dummy_evgen.o
obj-y += accel/
obj-y += adc/