xen/xenbus-frontend: Fix compile error with randconfig
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Mon, 19 Dec 2011 20:08:15 +0000 (15:08 -0500)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Tue, 20 Dec 2011 15:47:44 +0000 (10:47 -0500)
drivers/xen/xenbus/xenbus_dev_frontend.c: In function 'xenbus_init':
drivers/xen/xenbus/xenbus_dev_frontend.c:609:2: error: implicit declaration of function 'xen_domain'

Reported-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
drivers/xen/xenbus/xenbus_dev_frontend.c

index 9f6be7d59a68814e35eb77f3c5403ab5b834ea61..aec01420d97944a1376c81d29f35fce9049e17cb 100644 (file)
@@ -58,6 +58,7 @@
 #include "xenbus_comms.h"
 
 #include <xen/xenbus.h>
+#include <xen/xen.h>
 #include <asm/xen/hypervisor.h>
 
 MODULE_LICENSE("GPL");