Staging: IIO: Add generic ring buffer support to the IIO core
authorJonathan Cameron <jic23@cam.ac.uk>
Tue, 18 Aug 2009 17:06:24 +0000 (18:06 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 15 Sep 2009 19:02:24 +0000 (12:02 -0700)
commit7026ea4b52cf23a76507b5bddc92f394603c689e
tree43fb201a9f2a5af68cd771908695fc3e9a78d91a
parente435bc191f6a224192b548bed8cb1893b64e7df2
Staging: IIO: Add generic ring buffer support to the IIO core

This provides a unified interface for hardware and software
ring buffers.

Changes since V2:
* Moved to a more consistent structure.  Now the ring buffer
  has an associated struct device which is a child of the
  relevant iio_dev.  This in turn has two children, one
  for the event interface and one for the access interface.
  These two interfaces are now managed via cdev structures.

* Numerous minor cleanups

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/iio/Kconfig
drivers/staging/iio/Makefile
drivers/staging/iio/industrialio-ring.c [new file with mode: 0644]
drivers/staging/iio/ring_generic.h [new file with mode: 0644]