diff options
author | Jonathan Cameron <jic23@cam.ac.uk> | 2011-10-14 15:34:13 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-10-17 22:36:29 (GMT) |
commit | 3a84331db23b4cb4c497ef5aa5f7aea65d936309 (patch) | |
tree | d502afefaba4cffec0646779c6aa684e6371e358 /drivers/staging/iio/Makefile | |
parent | 9c95e01e84e31178b9a83b683a501ed76166c259 (diff) | |
download | linux-fsl-qoriq-3a84331db23b4cb4c497ef5aa5f7aea65d936309.tar.xz |
staging:iio:Documentation Simple dummy driver to explain the basics
The documenation explaining how to go about writing a driver is lagging
horribly, so here is another approach; an actual driver with
lots of explanatory comments.
Note it is currently minimal in that there are no events and no
buffer. With care they can probably be added in additional files
without messing up the clarity of what we have here.
V2: Addressed some of Manuel Stahl's feedback.
Fixed up kernel doc.
Added more general description.
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/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/staging/iio/Makefile b/drivers/staging/iio/Makefile index 788397d..014d8f1 100644 --- a/drivers/staging/iio/Makefile +++ b/drivers/staging/iio/Makefile @@ -10,6 +10,8 @@ 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-y += accel/ obj-y += adc/ obj-y += addac/ |