sysfs: fix up uaccess.h coding style warnings
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 Aug 2013 23:34:59 +0000 (16:34 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 Aug 2013 23:34:59 +0000 (16:34 -0700)
This fixes the uaccess.h warnings in the sysfs.c files.

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/sysfs/bin.c
fs/sysfs/file.c

index 26861e5a9fc414ae4480c9aa3663e8ee1ce02707..c590cabd57bbd8b76c9ca5a3aa210c93dbb9927f 100644 (file)
@@ -22,8 +22,7 @@
 #include <linux/slab.h>
 #include <linux/mutex.h>
 #include <linux/mm.h>
-
-#include <asm/uaccess.h>
+#include <linux/uaccess.h>
 
 #include "sysfs.h"
 
index 62bdcefbac6c15b39c1095c1235edc51b203ee94..8c52e5e5ddc38812edcb705072842df9e412dade 100644 (file)
@@ -20,7 +20,7 @@
 #include <linux/list.h>
 #include <linux/mutex.h>
 #include <linux/limits.h>
-#include <asm/uaccess.h>
+#include <linux/uaccess.h>
 
 #include "sysfs.h"