summaryrefslogtreecommitdiffstats
path: root/fs/sysfs
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-08-21 16:34:59 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-08-21 16:34:59 -0700
commit060cc749e9c50dfc8d1a8696aa0da520aa714977 (patch)
tree28de88c12e389c07dcda9cbd8f4e239b22f15440 /fs/sysfs
parentddfd6d074e0fadd14b6670394a6a7fb6a955de18 (diff)
downloadlinux-060cc749e9c50dfc8d1a8696aa0da520aa714977.tar.gz
linux-060cc749e9c50dfc8d1a8696aa0da520aa714977.tar.bz2
linux-060cc749e9c50dfc8d1a8696aa0da520aa714977.zip
sysfs: fix up uaccess.h coding style warnings
This fixes the uaccess.h warnings in the sysfs.c files. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/sysfs')
-rw-r--r--fs/sysfs/bin.c3
-rw-r--r--fs/sysfs/file.c2
2 files changed, 2 insertions, 3 deletions
diff --git a/fs/sysfs/bin.c b/fs/sysfs/bin.c
index 26861e5a9fc4..c590cabd57bb 100644
--- a/fs/sysfs/bin.c
+++ b/fs/sysfs/bin.c
@@ -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"
diff --git a/fs/sysfs/file.c b/fs/sysfs/file.c
index 62bdcefbac6c..8c52e5e5ddc3 100644
--- a/fs/sysfs/file.c
+++ b/fs/sysfs/file.c
@@ -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"