projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
967d1f9
)
kernel: ksysfs.c is implicitly using stat.h
author
Paul Gortmaker
<paul.gortmaker@windriver.com>
Thu, 28 Jul 2011 18:22:29 +0000
(14:22 -0400)
committer
Paul Gortmaker
<paul.gortmaker@windriver.com>
Mon, 31 Oct 2011 13:20:13 +0000
(09:20 -0400)
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>
kernel/ksysfs.c
patch
|
blob
|
blame
|
history
diff --git
a/kernel/ksysfs.c
b/kernel/ksysfs.c
index 6771de3a655dbf6149905b2e726d2c98152f68a4..4e316e1acf584dda201b2b7ee9369a05590229a3 100644
(file)
--- 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>