]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
xen: fix implicit stat.h/module.h include usage in xen-selfballoon.c
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Thu, 28 Jul 2011 14:08:24 +0000 (10:08 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Thu, 6 Oct 2011 18:10:00 +0000 (14:10 -0400)
The module.h cleanup has revealed that this file had the following
implicit dependencies as follows:

  CC      drivers/xen/xen-selfballoon.o
drivers/xen/xen-selfballoon.c:272: error: ‘S_IRUGO’ undeclared here (not in a function)
drivers/xen/xen-selfballoon.c:272: error: ‘S_IWUSR’ undeclared here (not in a function)
drivers/xen/xen-selfballoon.c:485: warning: type defaults to ‘int’ in declaration of ‘MODULE_LICENSE’
drivers/xen/xen-selfballoon.c:485: warning: function declaration isn’t a prototype
make[3]: *** [drivers/xen/xen-selfballoon.o] Error 1

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
drivers/xen/xen-selfballoon.c

index 6ea852e251629518cc8d808a087bbc9d4c87fb31..e21e3cee68faa884b52b3081a9562a9ea163a634 100644 (file)
@@ -68,6 +68,8 @@
  */
 
 #include <linux/kernel.h>
+#include <linux/stat.h>
+#include <linux/module.h>
 #include <linux/mm.h>
 #include <linux/mman.h>
 #include <linux/module.h>