2009-09-22 14:54:53

by Jaswinder Singh Rajput

[permalink] [raw]
Subject: [PATCH] STAGING: includecheck fix: iio, lis3l02dqbuffersimple.c


fix the following 'make includecheck' warning:

drivers/staging/iio/Documentation/lis3l02dqbuffersimple.c: dirent.h is included more than once.

Signed-off-by: Jaswinder Singh Rajput <[email protected]>
---
.../iio/Documentation/lis3l02dqbuffersimple.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/drivers/staging/iio/Documentation/lis3l02dqbuffersimple.c b/drivers/staging/iio/Documentation/lis3l02dqbuffersimple.c
index 2b5cfc5..6a8fa0c 100644
--- a/drivers/staging/iio/Documentation/lis3l02dqbuffersimple.c
+++ b/drivers/staging/iio/Documentation/lis3l02dqbuffersimple.c
@@ -19,7 +19,6 @@
#include <sys/dir.h>

#include <linux/types.h>
-#include <dirent.h>
#include "iio_util.h"

static const char *ring_access = "/dev/iio/lis3l02dq_ring_access";
--
1.6.0.6