summaryrefslogtreecommitdiffstats
path: root/kernel/ksysfs.c
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2011-07-28 14:22:29 -0400
committerPaul Gortmaker <paul.gortmaker@windriver.com>2011-10-31 09:20:13 -0400
commit1596425fd7545abccb7b5059376e4d56c3d6be4d (patch)
treecc4bbc90f16bf73846ee50a67cda88708df5fff9 /kernel/ksysfs.c
parent967d1f90625ed9c1ab205d3f738fedf9d852e1fd (diff)
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/ksysfs.c')
-rw-r--r--kernel/ksysfs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/ksysfs.c b/kernel/ksysfs.c
index 6771de3a655..4e316e1acf5 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>