Messages in this thread | ![/](/images/icornerl.gif) | | Date | Mon, 26 Apr 2010 09:46:04 +0100 | From | Jonathan Cameron <> | Subject | Re: [PATCH] iio: fix typo in userspace example codes and document |
| |
On 04/26/10 05:19, Barry Song wrote: > Signed-off-by: Barry Song <21cnbao@gmail.com> Thanks Barry. Ironically I rewrote this example yesterday to match the new abi (though I hadn't noticed the documentation error!). Still worth merging this as it may be a little while before everyone is happy with that patch set. Will hopefully post a new revision of that later today.
Acked-by: Jonathan Cameron <jic23@cam.ac.uk> > --- > .../iio/Documentation/lis3l02dqbuffersimple.c | 2 +- > drivers/staging/iio/Documentation/userspace.txt | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/staging/iio/Documentation/lis3l02dqbuffersimple.c b/drivers/staging/iio/Documentation/lis3l02dqbuffersimple.c > index 2b5cfc5..811dd14 100644 > --- a/drivers/staging/iio/Documentation/lis3l02dqbuffersimple.c > +++ b/drivers/staging/iio/Documentation/lis3l02dqbuffersimple.c > @@ -20,7 +20,7 @@ > > #include <linux/types.h> > #include <dirent.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"; > diff --git a/drivers/staging/iio/Documentation/userspace.txt b/drivers/staging/iio/Documentation/userspace.txt > index 661015a..4838818 100644 > --- a/drivers/staging/iio/Documentation/userspace.txt > +++ b/drivers/staging/iio/Documentation/userspace.txt > @@ -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.
| ![\](/images/icornerr.gif) |