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)
downloadop-kernel-dev-060cc749e9c50dfc8d1a8696aa0da520aa714977.zip
op-kernel-dev-060cc749e9c50dfc8d1a8696aa0da520aa714977.tar.gz
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 26861e5..c590cab 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 62bdcef..8c52e5e 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"
OpenPOWER on IntegriCloud