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

From: Aparna Karuthodi
Date: Tue Aug 18 2015 - 13:46:30 EST


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 <kdasaparna@xxxxxxxxx>
---
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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/