kernel: ksysfs.c is implicitly using stat.h
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Thu, 28 Jul 2011 18:22:29 +0000 (14:22 -0400)
committerPaul 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

index 6771de3..4e316e1 100644 (file)
@@ -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>