]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf5a913e2a78082bb1d403ac709e3ccde637c880a
tree43fb201a9f2a5af68cd771908695fc3e9a78d91a
parent75a5fff36b8885182a40e4dea555b90c44ac1632
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]