* [PATCH] iio: fix typo in userspace example codes and document
@ 2010-04-26 4:19 Barry Song
2010-04-26 8:46 ` Jonathan Cameron
0 siblings, 1 reply; 2+ messages in thread
From: Barry Song @ 2010-04-26 4:19 UTC (permalink / raw)
To: jic23, gregkh; +Cc: linux-iio, linux-kernel, Barry Song
Signed-off-by: Barry Song <21cnbao@gmail.com>
---
.../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.
--
1.5.6.3
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] iio: fix typo in userspace example codes and document
2010-04-26 4:19 [PATCH] iio: fix typo in userspace example codes and document Barry Song
@ 2010-04-26 8:46 ` Jonathan Cameron
0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Cameron @ 2010-04-26 8:46 UTC (permalink / raw)
To: Barry Song; +Cc: jic23, gregkh, linux-iio, linux-kernel
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-04-26 8:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-26 4:19 [PATCH] iio: fix typo in userspace example codes and document Barry Song
2010-04-26 8:46 ` Jonathan Cameron
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®