Staging: iio: fix typo in userspace example codes and document

Signed-off-by: Barry Song <21cnbao@gmail.com>
Acked-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
Barry Song 2010-04-26 12:19:01 +08:00 committed by Greg Kroah-Hartman
parent 013659f558
commit ceb0525c9e
2 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@
#include <sys/dir.h>
#include <linux/types.h>
#include "iio_util.h"
#include "iio_utils.h"
static const char *ring_access = "/dev/iio/lis3l02dq_ring_access";
static const char *ring_event = "/dev/iio/lis3l02dq_ring_event";

View File

@ -56,5 +56,5 @@ KERNEL="ring_event_line*", ID="spi1.0", DRIVER="lis3l02dq", NAME="iio/lis3l02dq_
KERNEL="event_line*", ID="spi1.0", DRIVER="lis3l02dq", NAME="iio/lis3l02dq_event"
KERNEL="ring_access*", ID="spi1.0", DRIVER="lis3l02dq", NAME="iio/lis3l02dq_ring_access"
The files, lis3l02dqbuffersimple.c and iio_util.h in this directory provide an example
The files, lis3l02dqbuffersimple.c and iio_utils.h in this directory provide an example
of how to use the ring buffer and event interfaces.