2015-08-18 17:46:27

by Aparna Karuthodi

[permalink] [raw]
Subject: [PATCH] staging: i2o: Used <linux/uaccess.h>

Used #include <linux/uaccess.h> instead of #include <asm/uaccess.h> to
remove a coding style warning detected by checkpatch.

The warning is given below:
drivers/staging/i2o/config-osm.c:22: WARNING: Use #include
<linux/uaccess.h> instead of <asm/uaccess.h>

Signed-off-by: Aparna Karuthodi <[email protected]>
---
drivers/staging/i2o/config-osm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/i2o/config-osm.c b/drivers/staging/i2o/config-osm.c
index 519f52f..45091ac 100644
--- a/drivers/staging/i2o/config-osm.c
+++ b/drivers/staging/i2o/config-osm.c
@@ -19,7 +19,7 @@
#include <linux/namei.h>
#include <linux/fs.h>

-#include <asm/uaccess.h>
+#include <linux/uaccess.h>

#define OSM_NAME "config-osm"
#define OSM_VERSION "1.323"
--
1.7.9.5