Isaku Yamahata
2008-Nov-25 05:29 UTC
[Xen-ia64-devel] [PATCH] compilation fix of drivers/balloon/sysfs.c
compilation fix of drivers/balloon/sysfs.c This patch fixes the following compilation error for ia64.> CC drivers/xen/balloon/sysfs.o > /linux-2.6.18-xen.hg/drivers/xen/balloon/sysfs.c:114: error: expected ''='', '','', '';'', ''asm'' or ''__attribute__'' before ''register_balloon'' > /linux-2.6.18-xen.hg/drivers/xen/balloon/sysfs.c:151: error: expected ''='', '','', '';'', ''asm'' or ''__attribute__'' before ''void'' > /linux-2.6.18-xen.hg/drivers/xen/balloon/sysfs.c:162: error: expected ''='', '','', '';'', ''asm'' or ''__attribute__'' before ''balloon_sysfs_init'' > /linux-2.6.18-xen.hg/drivers/xen/balloon/sysfs.c:167: error: expected ''='', '','', '';'', ''asm'' or ''__attribute__'' before ''balloon_sysfs_exit''Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp> diff --git a/drivers/xen/balloon/sysfs.c b/drivers/xen/balloon/sysfs.c --- a/drivers/xen/balloon/sysfs.c +++ b/drivers/xen/balloon/sysfs.c @@ -30,6 +30,7 @@ #include <linux/capability.h> #include <linux/errno.h> +#include <linux/init.h> #include <linux/stat.h> #include <linux/string.h> #include <linux/sysdev.h> -- yamahata _______________________________________________ Xen-ia64-devel mailing list Xen-ia64-devel@lists.xensource.com http://lists.xensource.com/xen-ia64-devel