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 6771de3a655dbf6149905b2e726d2c98152f68a4..4e316e1acf584dda201b2b7ee9369a05590229a3 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>