summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2011-07-28 20:22:29 +0200
committerPaul Gortmaker <paul.gortmaker@windriver.com>2011-10-31 14:20:13 +0100
commit1596425fd7545abccb7b5059376e4d56c3d6be4d (patch)
treecc4bbc90f16bf73846ee50a67cda88708df5fff9 /kernel
parentkernel: fix two implicit header assumptions in irq_work.c (diff)
downloadlinux-1596425fd7545abccb7b5059376e4d56c3d6be4d.tar.xz
linux-1596425fd7545abccb7b5059376e4d56c3d6be4d.zip
kernel: ksysfs.c is implicitly using stat.h
With the module.h usage cleanup, we'll get this: kernel/ksysfs.c:161: error: ‘S_IRUGO’ undeclared here (not in a function) make[2]: *** [kernel/ksysfs.o] Error 1 Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/ksysfs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/ksysfs.c b/kernel/ksysfs.c
index 6771de3a655d..4e316e1acf58 100644
--- a/kernel/ksysfs.c
+++ b/kernel/ksysfs.c
@@ -15,6 +15,7 @@
#include <linux/init.h>
#include <linux/kexec.h>
#include <linux/profile.h>
+#include <linux/stat.h>
#include <linux/sched.h>
#include <linux/capability.h>