diff options
author | Randy Dunlap <rdunlap@xenotime.net> | 2011-08-10 11:22:42 -0700 |
---|---|---|
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2011-08-10 15:21:46 -0400 |
commit | 30eefc95841ce51c3281876f0b954dd1d3c0bd5f (patch) | |
tree | 5a35c4f6454a0e28c0e7c2648a352ad5182e2485 | |
parent | c00c8aa2d976e9ed1d12a57b42d6e9b27efb7abe (diff) | |
download | kernel-common-30eefc95841ce51c3281876f0b954dd1d3c0bd5f.tar.gz kernel-common-30eefc95841ce51c3281876f0b954dd1d3c0bd5f.tar.bz2 kernel-common-30eefc95841ce51c3281876f0b954dd1d3c0bd5f.zip |
xen: xen-selfballoon.c needs more header files
Fix build errors (found when CONFIG_SYSFS is not enabled):
drivers/xen/xen-selfballoon.c:446: warning: data definition has no type or storage class
drivers/xen/xen-selfballoon.c:446: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL'
drivers/xen/xen-selfballoon.c:446: warning: parameter names (without types) in function declaration
drivers/xen/xen-selfballoon.c:485: error: expected declaration specifiers or '...' before string constant
drivers/xen/xen-selfballoon.c:485: warning: data definition has no type or storage class
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
Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
-rw-r--r-- | drivers/xen/xen-selfballoon.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/xen/xen-selfballoon.c b/drivers/xen/xen-selfballoon.c index 1b4afd81f872..6ea852e25162 100644 --- a/drivers/xen/xen-selfballoon.c +++ b/drivers/xen/xen-selfballoon.c @@ -70,6 +70,7 @@ #include <linux/kernel.h> #include <linux/mm.h> #include <linux/mman.h> +#include <linux/module.h> #include <linux/workqueue.h> #include <xen/balloon.h> #include <xen/tmem.h> |